Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Preserving timestamps with Net::FTP

by btrott (Parson)
on Jun 26, 2001 at 00:51 UTC ( #91430=note: print w/replies, xml ) Need Help??

in reply to Preserving timestamps with Net::FTP

I know this is not really what you're asking, but rsync handles this perfectly. Not only does it set the correct time stamps for you, but it uses a more sophisticated algorithm to determine "what has changed" that it needs to push to the remote server.

If you have ssh (with SSH-2 protocol support) installed on all of your servers, you could also use (bias :) Net::SFTP, which, in addition to providing secure transfers, will automatically set the time stamps correctly.

  • Comment on Re: Preserving timestamps with Net::FTP

Replies are listed 'Best First'.
Re: Re: Preserving timestamps with Net::FTP
by IraTarball (Monk) on Jun 26, 2001 at 01:02 UTC
    If only I were on *NIX. :-(
    No ssh but that may have to happen. There is an rsync like thing called robocopy that I'm looking into but it might create other problems.

    "So... What do all these little arrows mean?"

      I haven't tried it but rsync might work with with cygwin. I know that it is possible to get the OpenSSH server working with cygwin. It's probably a lot more effort to get rysnc, cygwin, etc. playing nicely together but might work as a last resort.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://91430]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-12-09 13:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found