I tried both a scp and a sftp session and they both work without any problems.
Thanks,
Radu | [reply] |
Ah, one more thing... the transfer is between two accounts on the same Linux machine so there's traffic up and down the network software stack but no real network traffic between two hosts... in case it makes a difference.
Radu
| [reply] |
And another detail.. it seems my latest runs all terminate - the code doesn't just hang there forever, but it only copies a part of the 15MB file.
| [reply] |
Well, that makes it a bit special indeed :)
Can you try install and run Net::SCP too for this same transfer ? Just to make another step to try to localize the problem.
Net::SSH2 seems to be far from mature (version 0.10), so it is definitely a suspect; however, trying Net::SCP (which is at version 0.07 :) ) might be an easier test than mucking with the Net::SSH2 code already.
A totally different - but still possible - approach would be to wrap a system() call around the command line scp that was successfull.
Hope that helps.
| [reply] |