cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_FILETIME works for SFTP?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 29 Apr 2012 23:19:20 +0200 (CEST)

On Thu, 26 Apr 2012, keqiong.xin_at_cummins.com wrote:

> curl_easy_setopt(_curlHandle, CURLOPT_FILETIME, 1);
>
> For HTTP server, I did get the file time. However, for SFTP, it didn't
> return anything. I debug through the code, and seems that ssh.c file never
> calls the Curl_gmtime() func to get file time. So I assume this
> CURLOPT_FILETIME doesn't work for SFTP?

Yes, it seems you are entirely correct! It would be great to have that
fixed...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-29