Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Net::SCP::Expect wierdness

by salva (Canon)
on Aug 29, 2012 at 20:56 UTC ( [id://990567]=note: print w/replies, xml ) Need Help??


in reply to Net::SCP::Expect wierdness

Maybe the internal timer used by Net::SCP::Expect is reset every time something arrives through the tty. Have you tried increasing the timeout value?

Alternatively, try using Net::SSH2 or transferring the file via SFTP with Net::SFTP::Foreign.

Replies are listed 'Best First'.
Re^2: Net::SCP::Expect wierdness
by blue_cowdawg (Monsignor) on Aug 30, 2012 at 15:01 UTC
        Maybe the internal timer used by Net::SCP::Expect is reset every time something arrives through the tty. Have you tried increasing the timeout value?

    Yes I did to ridiculous values. 900 seconds? really? Still didn't work for me.

    <ul
      transferring the file via SFTP with Net::SFTP::Foreign.

Tried that too and it did not work for all the hosts I have to do transfers to.

This problem is driving me nuts... and I'm already close enough to walk.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Are you able to transfer the files using scp from the command line with the -q flag set?

      Have you tried upgrading your client machine to the latest version of OpenSSH?

      What are exactly the kind of problems you see when using SFTP? Is it disabled in some host?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://990567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-24 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found