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
Node Status?
node history
Node Type: note [id://91430]
[shmem]: just one proverb before dozing off: when dealing with a bear, hubris is suicidal
[shmem]: Old_Gray_Bear would nod, and go back to sleep, then - but he's been sleeping for a year now.
[erix]: "AngloZionist Empire"? "Stop the Empire's war on Russia?" WTF?
erix stops reading as recommended by the blog itself
[erix]: my attention being jealously guarded ;)
[shmem]: erix, yes, it's a WTF. Since...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-03-19 20:46 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.