RenameFile method

RenameFile

Renames a file on the FTP server.  

Syntax

Object.RenameFile strRemoteFile, strNewName

Arguments

strRemoteFile

Argument type: String, required

Specifies the file to be renamed.

strNewName

Argument type: String, required

Specifies the new name for the file or directory