Solved

Copy files to FTP site without changing modification date

Posted on 2010-11-29
4
734 Views
Last Modified: 2012-05-10
I have a need, to copy a folder structure, from my (XP) pc, to an FTP site without changing the dates of the files that are copied.

I HAVE managed to "do" the above, but in every case, the modification dates change for the objects that are within the folder structure.

I have tried, XCopy, XXCopy, RoboCopy and SafeCopy.

The above utilities work perfectly if an FTP site is not involved.
IE:
If I copy the aforementioned folder structure from my "C" drive to a network drive.
Or I copy my folder structure to a USB drive or another hard drive on my pc.

I'd appreciate hearing if anyone has had the same need, and has figured out how to do it.

Thanks



0
Comment
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Dk_guru earned 250 total points
ID: 34229876
Is it possible to have the folder in a compressed state? Ie: zip, rar, 7z, etc... or specificaly needing the directory structure....
0
 
LVL 11

Expert Comment

by:paultomasi
ID: 34229985
hhis seems to work

tar the files on your local box and ftp the tar file to the remote, then untar that tar file on the remote box
0
 
LVL 11

Assisted Solution

by:paultomasi
paultomasi earned 250 total points
ID: 34230001
Oops!

This seems to work:

1. tar the files on your local box and ftp the tar file to the remote box

2. untar that tar file on the remote box
0
 
LVL 1

Author Closing Comment

by:Accidental Hyper-V Administrator
ID: 34258747
Thanks for the replies folks.

It had not even occurred to me to tar (or in my case "zip") the files before putting them on the FTP site.

It works perfectly when I "do" zip them up first.


Thanks to both of you.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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