[ACCEPTED]-cURL - Use cURL to ftp files and keep the original timestamp of file-ftps
Accepted answer
The key is this command line option:
-R/--remote-time
When used, this will make libcurl attempt to figure out the
timestamp of the remote file, and if that is available make
the local file get that same timestamp.
... which 2 then can be used like:
curl -R -O --ssl ftp://example.com/that/file/I/want.txt
(--ssl was formerly 1 known as --ftp-ssl)
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.