cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

sftp directory listing

From: Eric <crc1021_at_myrealbox.com>
Date: Thu, 21 Aug 2008 10:35:01 -0500

To get a directory listing for FTP I set the URL to a directory and set CURLOPT_WRITEFUNCTION to a callback function that parses the lines.

That same methods works for SFTP, but the lines that come back have the same date/time limitations as the FTP listing, mainly the full date and time are not shown and it is displayed in local time. I believe SFTP protocol sends the full date in UTC. Is there an option in libcurl to get at the full UTC date/time for a directory listing?
Received on 2008-08-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET