http://www.perlmonks.org?node_id=84233


in reply to ftpsync

If you are looking for rsync-like behavior but need a Perl implementation, or you just want some code for comparison to your approach, consider fsync.

Replies are listed 'Best First'.
Re: Re: ftpsync
by etchorner (Novice) on May 30, 2001 at 19:13 UTC
    Thanks for the link. That was pretty much what I was aiming for.

    I initially tried it using the File::Rsync module until I realized that it requires the having rsh access to the remote server.

    This same problem exists (with the addition of ssh access as well) with fsync, although there are some other nice code snippets that I may <s>steal</s> borrow.

    ftpsync is for us poor schmucks that have only plain vanilla ftp access to the server holding their website.

    I really like the idea of diff transferring, that really cuts down on the total bytes moved. It's made it on to my TODO for this one, although I haven't the slightest idea how to implement it yet. Therein lies the fun....