FTPRenameFile

<< Click to Display Table of Contents >>

Manual > Control Reference > Other > File transfer control > Method >

FTPRenameFile


 

Rename a file in the FTP server.

 


syntax

FTPRenameFile(

         remoteFile,

         remoteNewFile,

         requestID

         )

 


Parameters

 

remoteFile


Type:

character


The file path to rename from.

 

remoteNewFile


Type:

character


The renamed file path.

 

requestID


Type:

character


0 - Synchronous communication (after execution, the method waits until the transmission is completed).

1 or more - Asynchronous communication. (After execution, the method will immediately terminate and the success or failure will be notified by the OnFTPRequestDone event. The requestID will be passed in the event.)

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


 


reference