in reply to Re^2: Unable to transfer file with scp_put using Net::SSH2
in thread Unable to transfer file with scp_put using Net::SSH2

Hi Sandra,
Sorry - missed your reply. That's the same error as I was getting. This patch fixes the problem for me - and I think it will do the same for you.

There's already a bug report filed about this. That bug report also specifies a second patch to SSH2.xs which I haven't applied, as I haven't yet struck a need for it - and there seems to be some doubt as to what is the correct fix.

I'll /msg you (should be later today) when I've uploaded 0.33 ppm packages that include the above patch. Alternatively, you can just alter SSH2.pm in accordance with that patch - and that should work fine.

Btw, I did find that sftp was quite capable of uploading these files that scp couldn't, though it was much slower.

Cheers,
Rob
  • Comment on Re^3: Unable to transfer file with scp_put using Net::SSH2

Replies are listed 'Best First'.
Re^4: Unable to transfer file with scp_put using Net::SSH2
by tsandras (Initiate) on Mar 01, 2011 at 08:46 UTC
    Hi Rob,

    Long delay in replying. Thanks very much for the patch, am able to sftp successfully now for the bigger file size.

    Sandra