#114: libssh2_scp_send_ex in libssh2 1.2 doesn't work
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: bagder
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: SCP | Version: 1.2.2
Resolution: | Keywords:
Blocking: | Blockedby:
------------------------+---------------------------------------------------
Comment(by bagder):
Here's what I did to try to repeat it, only to see it working. Please be a
lot more specific with details we NEED to repeat this problem.
First, I made a symlink in my local tmp dir to another dir:
$ ls -ld /home/daniel/tmp/upsymlink
lrwxrwxrwx 1 daniel daniel 6 Feb 21 18:56 /home/daniel/tmp/upsymlink ->
upload
then I used the 'scp_write' example code to do an upload:
$ ./scp_write 127.0.0.1 [user] [password] local-file
/home/daniel/tmp/upsymlink/tags
It said it worked, so I check the dir on the server:
$ ls -l /home/daniel/tmp/upsymlink/
total 4
-rw-r--r-- 1 daniel daniel 3773 Feb 21 19:23 tags
Now, please tell me what I need to adjust to make this fail the way you
do?
-- Ticket URL: <http://libssh2.stuge.se/ticket/114#comment:9> libssh2 <http://libssh2.stuge.se/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-02-21