Results 1 to 10 of 10

Thread: Update FTP Site IP Address

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    12

    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.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Update FTP Site IP Address

    Quote 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.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    12

    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.

  6. #6

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    12

    Re: Update FTP Site IP Address

    Is this possible to be done through a code?

  7. #7
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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)?

  8. #8

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    12

    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.
    Name:  FTPProperty.JPG
Views: 202
Size:  61.3 KB

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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

  10. #10

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    12

    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
  •  



Click Here to Expand Forum to Full Width