[ACCEPTED]-cURL - Use cURL to ftp files and keep the original timestamp of file-ftps

Accepted answer
Score: 23

The key is this command line option:

          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)

More Related questions