Syncrhonizing local and remote directories

D

D. Alvarado

Hello,
Does anyone know of a perl module or have a perl script handy that
takes as paramters

remote host
remote host FTP login
remote host FTP password
local directory
remote directory to update

and then copies all the contents of the local directory supplied to
the remote directory.

Thanks, -
 
T

Tad McClellan

D. Alvarado said:
Does anyone know of a perl module or have a perl script handy that
and then copies all the contents of the local directory supplied to
the remote directory.


I know of a well-respected and widely used program that can
do all of that, but it is not written in Perl, so I won't
mention it.

Sorry I couldn't answer your question.
 
J

Joe Smith

D. Alvarado said:
Does anyone know of a perl module ... FTP ...

It sounds like you haven't been looking in the most obvious place.
http://search.cpan.org - "ftp mirror"
The third match is a "simple program" that is good for pulling files.
It is a simple process to modify the program to push files instead.

-Joe

P.S. I never use FTP uploads any more; the user name and password
are send as plain text. Bad idea, when compared to SSL solutions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,427
Latest member
HildredDic

Latest Threads

Top