|
-
Jun 6th, 2008, 05:59 PM
#1
Thread Starter
New Member
Update FTP Site IP Address
Could someone please help me? I'm unable to find any article on this.
Is there a way of changing the FTP Site's IP Address through VB code?
Thanks in advance.
-
Jun 7th, 2008, 03:39 AM
#2
Re: Update FTP Site IP Address
Change what site's IP address?
IP addresses are assigned by the internet provider...and whether or not it changes is also up to the ISP.
The only way would be to reconnect the computer to the internet. Or change a byte in the last octet of the MAC address and then reboot the modem/router, if it is a static IP/broadband provider. I wouldn't recommend doing this, though, the few times I have it worked, and sometimes it doesn't.
-
Jun 7th, 2008, 01:16 PM
#3
Re: Update FTP Site IP Address
 Originally Posted by jaomata
Could someone please help me? I'm unable to find any article on this.
Is there a way of changing the FTP Site's IP Address through VB code?
Thanks in advance.
In likelihood for your situation based upon assumptions I am making from similar questions in the past, no there isn't a way to do this.
-
Jun 7th, 2008, 01:34 PM
#4
Re: Update FTP Site IP Address
Why would you want to do this with VB? Surely it would be done only on your own site and so you would be the one with the permissions to change it via the providers interface. Otherwise you wouldnt have the permissions to make such changes no matter what language or technology you used..
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 8th, 2008, 03:31 AM
#5
Thread Starter
New Member
Re: Update FTP Site IP Address
I have the permission and all under my admin account. It's just that I need to do this through code because I have to change this to hundreds of PCs.
The setup of IP on all PCs are static. I'm using a template and converting everything to virtual servers. In order for me to do this, I need my template server (virtual) converted to all the settings my old (physical) server.
I found the solution to change the TCP/IP settings. My next problem is to change the IP of FTP IP Address. After this, I need to look for changing the computer name and keeping them from the domain through code.
-
Jun 9th, 2008, 10:31 AM
#6
Thread Starter
New Member
Re: Update FTP Site IP Address
Is this possible to be done through a code?
-
Jun 10th, 2008, 02:24 AM
#7
Re: Update FTP Site IP Address
Yes, if you are able to do it from your admin site then you can automate the process using a VB program. How hard it will be depends on how you are administering the sites...
I'm not familiar with this kind of thing...is it like a cPanel or something that you log into through a web browser? Or...? Is there a chance you can take a screen shot (obviously, blacking out/removing any sensitive information first)?
-
Jun 13th, 2008, 03:44 PM
#8
Thread Starter
New Member
Re: Update FTP Site IP Address
Sorry for the reply - I was sooo busy these past few days.
I need to change the IPAddress highlighted in RED in this screenshot.
-
Jun 13th, 2008, 04:58 PM
#9
Re: Update FTP Site IP Address
Ah. When you said you wanted to change the IP address, you didn't explain yourself very well at all. It would have been helpful if you had mentioned IIS in the first place - by assuming that we'd understand what you meant, it's taken you a long time to get the answer you want.
What you're looking for is modifying the IIS metabase programmatically. This is possible. You can use WMI or ADSI.
Read more here
http://www.microsoft.com/technet/pro....mspx?mfr=true
-
Jul 2nd, 2008, 01:25 PM
#10
Thread Starter
New Member
Re: Update FTP Site IP Address
WOW! That seems very informative - but it's kind of hard to look for what I'm having trouble with.
Do you have a sample code I can look at to do the same thing in my screenshot above?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|