BE_FTP_Upload

BE_FTP_Upload</a> ( url ; data {; username ; password } )

 

Uploads the to the ftp url specified, the container field data.

 

Version : 3.0

 

Parameters :
url : the ftp url to upload to.
data : the container field file to upload.
username ( optional ) : The username if the url requires authentication.
password ( optional ) : The password if the url requires authentication.

 

Authentication types can be set with the BE_Curl_Set_Option function.  You can also set it to create folders that don't exist by setting this flag before upload :

BE_Curl_Set_Option ( "CURLOPT_FTP_CREATE_MISSING_DIRS" ; "1" )

Examples :

BE_FTP_Upload ( "ftp://example.com/path/folder/" & FTPTest::File ; FTPTest::File )

BE_FTP_Upload ( "sftp://example.com:2000/path/folder/" & FTPTest::File ; FTPTest::File ; "account" ; "password" )

Have more questions? Submit a request

0 Comments

Article is closed for comments.