Jump to content




Sign in to follow this  
Saif

Renaming an FTP server



Recommended Posts

I am in the process of rebuilding a new FTP server. Waht i need to know is if i rebuild this new replacement server and install FTP and set it up all the way, will i be able to rename this server to the old FTP server's name and IP?

 

(I must retain same name and ip of the old ftp server)

 

thanks

Share this post


Link to post
Share on other sites


yes you should be able to just migrate your settings and data and rename and ip that bad boy and off you go.

Share this post


Link to post
Share on other sites

Files and directories on an FTP server can be renamed using the FtpRenameFile function. FtpRenameFile accepts two NULL-terminated strings that contain either partially or fully qualified names relative to the current directory. The function changes the name of the file designated by the first string to the name designated by the second string.
The following example shows how to rename the file or directory indicated by the IDC_FTPEdit2 edit box. The HINTERNET handle hSecondary was created by InternetConnect after establishing an FTP session. DisplayDir is another function that is designed to enumerate the directory.

Source : MSDN

Edited by anyweb
suspect spam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


×