Posted on 2006-10-25 11:58:01-07 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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.