cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Modification dates of files downloaded from a sftp server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Dec 2014 22:31:29 +0100 (CET)

On Mon, 15 Dec 2014, Jenkins, Peter (SLSA) wrote:

> I have read the man page so many times and I seemed to have always
> overlooked that option.
>
> However, although I have tried with the -R option added to my curl command,
> and again with the --remote-time option, downloaded files still get the time
> of download.

...

> So curl seems to be able to get the timestamp but not apply it on downloading.

Yeah, I took a look now and it seems we actually don't support -R when
downloading from SFTP.

I've added this to the KNOWN_BUGS document just now as I can't take this on
myself in the short term. I would of course love it if you or someone else
would step in and help us add this missing code.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-15