in reply to
Net::SFTP::Foreign frequent connection server stall
Hi, I am Net::SFTP::Foreign author. Set $Net::SFTP::Foreign::debug = ~(8|16|1024|2048); and send me the output by email. Also, run your script with truss and send me the last hundreds of lines.
BTW, which SSH client are you using, the one from Solaris or OpenSSH one and which version? I would try changing it.
Net::SFTP::Foreign supports timeouts and resuming transfers. You can combine these features as a workaround until we find what is going wrong.