Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Preserving timestamps with Net::FTP

by btrott (Parson)
on Jun 26, 2001 at 00:51 UTC ( [id://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?"
    ~unknown

      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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found