Re: [ILUG] "push" mirroring

From: Padraig Brady (padraig.brady at domain corvil.com)
Date: Wed 04 Sep 2002 - 11:21:18 IST


Waider wrote:
> Hi folks,
>
> Due to a certain need, I hacked together a FTP-based "push" mirror last
> night, i.e. a program which will copy the local directory to some remote
> site which is only accessible by FTP. Obviously if I had better access
> I'd be using rsync or some such. Now, it seems to me like this might be
> a non-unique scenario, and surely someone has solved the problem before,
> but the only pre-existing code I could find either assumes you've got
> shell access, or is so horribly put together that a single software
> version change would break it - and may already have (this is something
> called PushUpdate, if you're about to recommend it to me. It was written
> by someone who is taking advantage of the fact that Perl syntax is very
> C-like, and also uses system() a lot to do things like FTP).
>
> So. Does anyone know of, or have in their toolkit, a push mirror of,
> say, the flexibility of the canonical "pull" mirror program?
>
> Cheers,
> Waider.
> --
> waider at domain waider.ie / Yes, it /is/ very personal of me

The following may be of use?

http://www.linux.ie/pipermail/ilug/1999-November/009111.html

It is a script that shows a general method of transferring a
file from one FTP server outside a firewall to one inside.

The FTP client that this script controls can be anywhere
inside the firewall (including the same machine
as the FTP server).

Note you don't need the FTP server inside the FW
if the client directly supports PASV mode, so you
could upgrade the script to support this mode with
an option.

There are some good tools listed here:
http://mobilix.org/Mobile-Guide.db/mobile-guide-p5c1s3-data-transport.html

Padraig.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:37 GMT