[curlopt_ftplistonly] is used together with [curl->set]. The parameter expected by [curl->set] is an integer. A value of 1 means that only the name of the files in the directory will be returned.
curlopt_ftplistonly
Code
local(c = curl('ftp://ftp.sunet.se/pub/etext/'))
#c->set(curlopt_ftplistonly, 1)
#c->result
Result
0Atte Finnish etext gutenberg hwb libellus mh ota runeberg wiretap-classic-library
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments