FTPReceiveFile

<< Click to Display Table of Contents >>

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

FTPReceiveFile


 

Receive the file from the FTP server.

 


syntax

FTPReceiveFile(

         remoteFile,

         localFolder,

         requestID

         )

         


Parameters

 

remoteFile


Type:

character


The name of the file to receive. (This is a file on the FTP server.)

 

localFolder


Type:

character


The destination folder. (This is a folder in the action's public folder.)

 

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_plus1Example

 


reference