Bugs item #2848195, was opened at 2009-09-01 11:52
Message generated for change (Comment added) made by amiroot
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: None
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 w/ symlink

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: AMI (amiroot)
Date: 2009-09-15 16: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-02 04: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 11: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

Reply via email to