Bugs item #2848195, was opened at 2009-09-01 03:52
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2848195&group_id=125852
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SCP
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: libssh2_scp_send_ex in libssh2 1.2 doesn't work
Initial Comment:
The function will file if you try to upload something to a folder which is a symlink to some other folder even if you have permission. It works properly under version 1.1. You can try this out if you upload a file large than 1 MB.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-12-24 19:56
Message:
still have problem in lastest git. december 14 2009. centos 5.3.
problem same as amiroot
just simple running scp_write_non_blocking will hang in waiting eof
----------------------------------------------------------------------
Comment By: AMI (amiroot)
Date: 2009-10-20 07:51
Message:
The problem still exists. I tested with libssh2-1.2.2-20091020.tar.gz.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2009-10-18 12:32
Message:
Is this still a problem in the recent git version? We've fixed several
related issues.
----------------------------------------------------------------------
Comment By: AMI (amiroot)
Date: 2009-09-15 08:15
Message:
Hi, I just recalled that I've an account :p
Sorry that i just realized that there are samples from the sources code
and I just tested with them. The problem laid down with scp_write and I
found that it's not limited to symlink but also normal directories.
Once I uploaded a file with scp_write, it will tell you sending eof
waiting for eof etc... and it quit decently. However, the size of the local
file and the remote one are different. In some case it's a few k less but
in some case it uploaded only 1/10 of the total content.
I tried the scp_write in 1.1 and it works prefect.
I can send you the file for testing in private. Thanks
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2009-09-01 20:55
Message:
Can you please clarify what "doesn't work" means more exactly?
Can you provide a test source (in C) that repeats the problem? (or does
one of the samples from example/simple suffice?)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-01 03:54
Message:
I'm using CentOS 5.3. I tested it under the PHP PECL package SSH2 0.11.
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2848195&group_id=125852
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-24