RaduH has asked for the wisdom of the Perl Monks concerning the following question:
I am using Net::SSH2. The problem is that the scp_get call hangs indefinitely. I am trying to download a 15MB file. It seems it gets stuck after about 12-13MB. Interesting is that if I repeat the experiment, it seems to stop at the same file size, for a while, then it seems to stick to that new value for another while, and so on. Anyway, it doesn't make any progress past that point (not even a crash with or without an error message).my $ssh2 = Net::SSH2->new(); $ssh2->connect($sourceServer) or die ("Unable to connect"); $ssh2->auth_keyboard('user', 'password') or die ("Unable to login"); $ssh2->scp_get($sourceFileName); $ssh2->disconnect();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSH2 scp_get problem
by Krambambuli (Curate) on Oct 17, 2007 at 22:46 UTC | |
by RaduH (Scribe) on Oct 18, 2007 at 20:24 UTC | |
|
Re: SSH2 scp_get problem
by Krambambuli (Curate) on Oct 17, 2007 at 20:05 UTC | |
by RaduH (Scribe) on Oct 17, 2007 at 20:30 UTC | |
by RaduH (Scribe) on Oct 17, 2007 at 20:51 UTC | |
by RaduH (Scribe) on Oct 17, 2007 at 20:57 UTC | |
by Krambambuli (Curate) on Oct 17, 2007 at 21:07 UTC | |
by RaduH (Scribe) on Oct 17, 2007 at 22:00 UTC | |
|
Re: SSH2 scp_get problem
by Anonymous Monk on Oct 17, 2007 at 22:42 UTC | |
by RaduH (Scribe) on Oct 18, 2007 at 15:11 UTC | |
|
Re: SSH2 scp_get problem
by Robot (Novice) on Oct 19, 2007 at 13:11 UTC | |
by RaduH (Scribe) on Oct 19, 2007 at 17:18 UTC |