Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3083  / 3 Years ago, tue, july 20, 2021, 4:24:20

Is there a way to keep the original file date when downloading from server with nautilus ftp? Like it is now, the file has as date / time the downloaded date / time and not the one in the server?


More From » nautilus

 Answers
7

As a workaround, wget does that by default. From the manpage(manual page):




   --timestamping
Turn on time-stamping.

--no-use-server-timestamps
Don't set the local file's timestamp by the one on the server.

By default, when a file is downloaded, it's timestamps are set to
match those from the remote file. This allows the use of
--timestamping on subsequent invocations of wget. However, it is
sometimes useful to base the local file's timestamp on when it was
actually downloaded; for that purpose, the
--no-use-server-timestamps option has been provided.



For nautilus, you may want to submit a bug report (feature request): https://bugzilla.gnome.org/browse.cgi?product=nautilus


[#35049] Tuesday, July 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
naldis

Total Points: 257
Total Questions: 101
Total Answers: 111

Location: Kenya
Member since Sat, Feb 25, 2023
1 Year ago
;