David Pheat wrote:
And
What do these things do?
my $REMOTE="http://www.cpan.org/";
my $LOCAL="/Users/merlyn/MIRROR/MINICPAN/";
close($server);
Tintin wrote:
> "David Pheat" <Da...@Pheat.con> wrote in message
>
> > How would you mirror a file from one server to another server,
> > and how would you get around all the security etc. Is there a
> > program out there (free hopefully) that will do this?
>
> http://rsync.samba.org/
I have a virtual host, I don't think anything like this would help,
it needs to be a perl script(s). One problem I have is the cgi-bin
directory on the server will not allow me to read a .txt file, or I
could just copy the file(s) from what I call the root directory to the
cgi-bin, then call this text file with the script on the other server
and copy that to the root directory on the other server, then
delete these temp files.