in reply to Re: My Perl/Expect script aborts when sftp connection stalls at remote destination in thread My Perl/Expect script aborts when sftp connection stalls at remote destination
First, zow, thanks for the quick reply. When connected manually I see the 1-line status info line progressing through from 0% to 100%, with the sporadic message of stalled. But it finishes. For the script's run it seems to just cut off, maybe at the first stall, as if I did a kind of "kill" command from the UNIX command line.
As to switching to Net::SFTP, that'd be a tough switch since our script is already in production and we don't have Net::SFTP in our shop at this point. I know it sounds dumb to have a frail app in production. Most future files are expected to be small enough that the problem vanishes, and I can manually get the rare files that are too big. ALSO, I'll see if a late night run of the script, when the traffic should be much lower, avoids the problem.
|