![]() |
|
|
|
|
|||||||
| 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 |
| Files and dates | mastachef | UNIX for Dummies Questions & Answers | 1 | 12-03-2007 10:12 AM |
| FTP - To handle error while transferring files | mahalakshmi | Shell Programming and Scripting | 1 | 04-04-2007 12:56 AM |
| Transferring hidden files with scp | matrixmadhan | UNIX for Dummies Questions & Answers | 13 | 01-16-2007 12:00 PM |
| transferring files to and from remote computer | yogi1 | UNIX for Dummies Questions & Answers | 6 | 05-28-2006 06:58 PM |
| FTP session expiring when transferring files... Need some solution | aarora_98 | Shell Programming and Scripting | 4 | 12-13-2005 09:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
transferring files using ftp but mantaining the dates
Hi guys,
Is there a way I can ftp some files without changing the last-modified dates from them ? I haven't seen any ftp option to do so. Or, alternatively, how do I change the last-modified date for a file, if this is possible... ? Thanks in advance, Abrahao. |
| Forum Sponsor | ||
|
|
|
|||
|
Hi Abrahao,
I think u can better tar the files , ftp it and untar it at the other end ... and the timestamp would be preserved ... try this way ... i guess this wud be better than changing the timestamp manually SNS |
|
|||
|
Abrahao,
You can use rcp command instead to retain modification times access times and modes of the original file. (Use rcp -p) If you want to change access/modification times use touch command. touch -m <date-time> <filename> Regards, Rajeshwar. |
|
|||
|
Quote:
When I FTP GET the file from my (tp) trading partner's server the files are not in tar format. The only access I have to my tp's server is ftp. So I cannot really tar my tp's file. I will ask my tp to tar the file before I FTP GET it. But what if my tp does not want to tar the file? What should I do? Thanks in advanced, XZOR |
|
||||
|
Second time in a week for this question. So I created a new faq article.
|
||||
| Google The UNIX and Linux Forums |