Net-SFTP - Automate SFTP using Expect

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