Ftprename()
Renames the file on the remote server
Usage
BOOLEAN = Ftprename(
ftpdata,
oldfile,
newfile,
stoponerror
)
Argument | Summary |
---|---|
ftpdata | the connection object as defined from FtpOpen() |
oldfile | the remote file to rename |
newfile | the new file name to change it to |
stoponerror | if something goes wrong, throw an exception. defaults to true [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Ftprename( ftpdata=?, oldfile=?, newfile=?, stoponerror=? );
Supports passing parameters as a structure using ArgumentCollection:
Ftprename( ArgumentCollection={ ftpdata : ?, oldfile : ?, newfile : ?, stoponerror : ? } );