Jump to content


  • 0
Saif

Renaming an FTP server

Question

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

2 answers to this question

Recommended Posts

  • 0

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.