|
Posted by john_paul_byrne on February 29, 2008, 12:45 pm
Please log in for more thread options > On Feb 29, 6:14 am, john_paul_by...@yahoo.co.uk wrote:
>
> > 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
fromhttp://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
Cheers CC
|