Solved

Copy files to FTP site without changing modification date

Posted on 2010-11-29
4
731 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

20 Experts available now in Live!

Get 1:1 Help Now