Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • Last Modified:

Copy files to FTP site without changing modification date

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
Accidental Hyper-V Administrator
Asked:
Accidental Hyper-V Administrator
  • 2
2 Solutions
 
Dk_guruCommented:
Is it possible to have the folder in a compressed state? Ie: zip, rar, 7z, etc... or specificaly needing the directory structure....
0
 
Paul TomasiCommented:
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
 
Paul TomasiCommented:
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
 
Accidental Hyper-V AdministratorAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now