![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File timestamp | stevefox | UNIX for Dummies Questions & Answers | 4 | 12-24-2007 10:14 PM |
| ftp files -- but keep the original timestamp | Perderabo | Answers to Frequently Asked Questions | 0 | 07-23-2006 08:43 AM |
| insert text into the middle of a original file | mopimp | Shell Programming and Scripting | 1 | 03-26-2006 07:11 AM |
| Rename a file if I don't know its exact original name? | propel | Shell Programming and Scripting | 9 | 03-07-2006 03:54 AM |
| timestamp of file | krisdhar | UNIX for Dummies Questions & Answers | 4 | 10-28-2003 07:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ftp - get file and keep original timestamp?
Can you ftp (get) a file from another server and keep the timestamp on the file that is on the other server?
ie. server1 server2 - Mar 12 12:30 /filename1 On Mar 15 at 13:00 server1 ftp to server2 and get /filename1 I want the file filename1 to have the date (Mar 12 12:30) on the file timestamp when it is on my server1... is this possible? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Not with ftp.
You will have to use touch on the file after it has been moved over. |
|
#3
|
||||
|
||||
|
This question seems to come up a lot...
ftp timestamp transferring files using ftp but mantaining the dates FTP - Get the file date and time on the remote server The first two threads mention creating an archive, tranferring the archive, and extracting the files. The third thread discussed the problem with old files not having a complete timestamp visible to ftp; and it has a perl script that ignores the problem. |
||||
| Google The UNIX and Linux Forums |