FTPDeleteFile

<< Click to Display Table of Contents >>

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

FTPDeleteFile


 

Delete a file on the FTP server.

 


syntax

FTPDeleteFile(

         remoteFile,

         requestID

         )

 


Parameters

 

remoteFile


Type:

character


The path of the file to delete.

 

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.

 


hmtoggle_plus1Explanation

 


reference