Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Just another Perl shrine
 
PerlMonks  

Re^2: Net::SCP::Expect wierdness

by blue_cowdawg (Prior)
on Aug 30, 2012 at 15:01 UTC ( #990778=note: print w/ replies, xml ) Need Help??


in reply to Re: Net::SCP::Expect wierdness
in thread 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?

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


Comment on Re^2: Net::SCP::Expect wierdness
Re^3: Net::SCP::Expect wierdness
by salva (Monsignor) on Aug 31, 2012 at 07:19 UTC
    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
Node Status?
node history
Node Type: note [id://990778]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-04-20 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls