Thread

Posted on Wed Oct 25 14:58:01 2006 by biztech
Automate SFTP using Expect
I would like to automate SFTP to run in a batch mode. I am aware that this can be done by 1. setting up authentication keys 2. using Expect. Using keys is not an option, so I have looked at using Expect instead. I have managed to write and run a stand alone expect script that connect to another server using SFTP. What I do want to do now is to integrate this in a perl script? I have an SSH client running on a Solaris machine. We cannot use NET::SFTP. Is there any way of running expect inside Perl without NET::SFTP. Thanks
Direct Responses: 7859 | Write a response
Posted on Tue May 13 07:39:45 2008 by parthpatil in response to 3329
Re: Automate SFTP using Expect
Check this post I wrote recently for automating SFTP download using Perl Expect. No need to use NET::SFTP http://parthpatil.com/2008/05/02/using-perl-expect-to-automate-sftp-access/
Write a response