www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: SCP upload failure

Re: SCP upload failure

From: Jeremy Knope <jerome_at_ambrosiasw.com>
Date: Mon, 24 Aug 2009 10:05:53 -0400

I've tried it against a couple OS X machines, a linux VM and a linux
VPS so far. The only one that worked was the VPS but I'll have to
try again to make sure. What does seem to work fine is smaller files,
those transfer fine without hanging.

I'll do some more testing today on more systems and try a few
different sized files, but it's pretty much 100% failure with the 25M
file on almost every server.

--
Jeremy Knope / Software Developer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/
On Aug 23, 2009, at 5:39 PM, Daniel Stenberg wrote:
> On Fri, 21 Aug 2009, Jeremy Knope wrote:
>
>> I wanted to add to this in hopes someone might be able to confirm  
>> this or know how to fix it even.  I have it happen just about every  
>> time and it doesn't seem to be limited to just certain hosts.  I'm  
>> typically using libssh2 on an OS X machine, but I also just tried  
>> building it on a linux VM (turnkey linux) and connecting to a  
>> couple different servers.  the test app (scp_write edited for  
>> specific file etc.) always hangs on waiting for the channel to  
>> close, and the uploaded file is corrupt (25MB zip file)
>
> Does it _never_ work anywhere with any file against any server?
>
> Does download work fine?
>
> libssh2 1.2 I guess?
>
> -- 
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-24

the libssh2 team