Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
thank you both for your workaround –  bob Oct 9 '12 at 16:09
add comment

2 Answers

up vote 3 down vote accepted

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

share|improve this answer
add comment

if you are likely to do from terminal , cp command can help you with -p option .

-p
same as --preserve=mode,ownership,timestamps

--preserve[=ATTR_LIST]
preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, all
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.