in reply to Re: Starting SFTP within Net:SSH::Expect
in thread Starting SFTP within Net:SSH::Expect

VC many many many thanks. I increased the wait for time to 20 seconds. And it worked. Once again thanks.
  • Comment on Re^2: Starting SFTP within Net:SSH::Expect

Replies are listed 'Best First'.
Re^3: Starting SFTP within Net:SSH::Expect
by pimp1911 (Initiate) on Aug 31, 2007 at 11:16 UTC
    One other thing. I changed the code to look for a sftp prompt. $ssh->waitfor('sftp>', 20);