Does the hang-up occur when running the sftp commands on the command line? You could also try Net::SFTP::Foreign or Net::SFTP (lots of dependencies for this one). I find working with those packages to be a little better with respect to exception handling for doing SFTP.
In reply to Re: My Perl/Expect script aborts when sftp connection stalls at remote destination
by zow
in thread My Perl/Expect script aborts when sftp connection stalls at remote destination
by c84032002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |