cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to get information of a file on the sftp

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 18 Dec 2013 20:00:27 +0100

On Wed, Dec 18, 2013 at 10:02:30AM +0800, ΑυΣ’Ξ° wrote:
> I use the curl_easy_getinfo() to get something about a file , but it does not
> work .
>
> res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
> res is 0 but filetime is a initial value.
>
> how to get information of a file on the sftp (such as filename filetime
> size...)

What options are you using when you make the request?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-18