Lasso Soft Inc. > Home



[curlopt_userpwd] is used together with [curl->set]. The parameter expected by [curl->set] is a string that will be used to authenticate with the remote server. The string should be formatted to include both username and password in the following manner: "myname:mypassword".

  • Syntax
  • Beginner

 To obtain the directory listing of a remote FTP server, using username and password


local(c = curl(''))
#c->set(curlopt_userpwd, "myusername:mypassword")


0-rw-r--r--    1 14550    80          63382 Feb 12 17:28 file.pdf

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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft