Solved

FTP File Transfer Timestamps

Posted on 2002-03-20
4
394 Views
Last Modified: 2013-12-27
When I ftp:get some files from another UNIX server their modification date changes on the local machine to the time at which they were ftp'd.  I want them to keep their original timestamp.  Is this possible?
0
Comment
Question by:fionabion
4 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 6884330
login to the remote machine,use tar to create a tar ball for the files to be transfered, then ftp to get the file, tar it off on your local machine.

====
yuzh
0
 
LVL 4

Expert Comment

by:besky
ID: 6885371
No, cause you are actually creating a new file on your machine so do it as yuzh says.
and use -p to tar for preserving file data.

rgds
0
 

Author Comment

by:fionabion
ID: 6885936
Thanks for this.  Although if you ftp using cute-ftp from a Unix server to your local PC - the file maintains its original timestamp.  
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6887657
The ncftp client (http://www.ncftp.com/) will preserve timestamps. And as a bonus you get command line editing, a bookmarks capability, and some nifty tools for doing scripted FTP sessions.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now