pimp1911 has asked for the wisdom of the Perl Monks concerning the following question:
#Send files back to Server A my $sftp = $ssh->exec("sftp username\@remote host"); my $pass = $ssh->exec("password"); My debug log tells me at this point tells me that I have a sftp prompt +. But the sftp prompt wont except my next command. my $mput = $ssh->send("mput *.tar")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Starting SFTP within Net:SSH::Expect
by atemon (Chaplain) on Aug 31, 2007 at 05:44 UTC | |
by pimp1911 (Initiate) on Aug 31, 2007 at 11:00 UTC | |
by pimp1911 (Initiate) on Aug 31, 2007 at 11:16 UTC |