Lasso Soft Inc. > Home

[ CURLOPT_FTP_SSL ]

Method

[curlopt_ftp_ssl] is used together with [curl->set]. It alters which level of SSL curl should use for the transfer.

The parameter expected by [curl->set] is an integer. The methods listed below are representing the values that can be accepted.

  • Syntax
curlopt_ftp_ssl
Examples
  • Beginner

To use a specific authentication method when retrieving a file from an FTP server

Code

local(c = curl('ftp://ftp.example.com/'))
#c->set(curlopt_userpwd, "myuser:mypassword")
#c->set(curlopt_ftp_ssl, 1)
#c->set(curlopt_ftpsslauth, curlftpauth_ssl)
local(result = #c->result)

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft