in reply to Net::SCP::Expect appears to ignore Timeout value

Try setting timeout_auto and timeout_err as well. Both are used within the $scpe->scp method.
  • Comment on Re: Net::SCP::Expect appears to ignore Timeout value

Replies are listed 'Best First'.
Re^2: Net::SCP::Expect appears to ignore Timeout value
by blue_cowdawg (Monsignor) on Mar 21, 2013 at 19:25 UTC

    symptoms unchanged.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Your code worked fine on my system. What's the error when it bails? Maybe you could try Net::OpenSSH and it's scp_put method?
            Maybe you could try Net::OpenSSH and it's scp_put method?

        That looks really promising. Might solve a lot of other stuff I've been trying to figure out as well. I'll let you know...


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg