FTPSendFile

<< Click to Display Table of Contents >>

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

FTPSendFile


 

Send a file to a FTP server.

 


syntax

FTPSendFile(

         localFile,

         remoteFolder,

         requestID

         )

         


Parameters

 

localFile


Type:

character


The name of the file to send. (This is a file in the public folder of the action.)

 

remoteFolder


Type:

character


The name of the destination folder. (A folder in the FTP server.)

 

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 OnFTPRequestDone event will notify you of whether it was successful. The RequestID will be passed in the event.)

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


reference