Programming with FTP OLE Automation

image\rwnprg32.gif RenameFile method

 

Syntax Object.RenameFile RemoteFile, NewName

 

Description

Renames a file or directory on the FTP server.

Arguments

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.