Programming with FTP OLE Automation
RenameFile method
Syntax Object.RenameFile RemoteFile, NewName
Renames a file or directory on the FTP server.
RemoteFile Argument type: String
Required
Specifies the file or directory to be renamed.
NewName Argument type: String
Required
Specifies the new name for the file or directory.