Secure FTP

J

john_paul_byrne

Hi,

I am setting up a cron job which calls a perl script, at the end of
which, I want to upload a file to a secure ftp server.

Can somebody point me in the best way to approach this? A sample would
be fantastic ;o)

John
 
M

Martijn Lievaart

Hi,

I am setting up a cron job which calls a perl script, at the end of
which, I want to upload a file to a secure ftp server.

Can somebody point me in the best way to approach this? A sample would
be fantastic ;o)

Putting the words "Perl sftp" in Google pointed directly to CPANs
Net::SFTP. I think it'll do the job.

HTH,
M4
 
C

ccc31807

Hi,

I am setting up a cron job which calls a perl script, at the end of
which, I want to upload a file to a secure ftp server.

Can somebody point me in the best way to approach this? A sample would
be fantastic ;o)

John


You can also use pscp. This is a command line program you can get from
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

We use this quite often and I can tell you from personal experience
that it's easy to use and reliable. Call it with system and check the
return value.

CC
 

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,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top