in reply to Re^2: ssh2 scp question
in thread ssh2 scp question
If I try an 'scp_put' I get a similar message (and segfault):libssh2_scp_recv(ss->session, path, &st) -> 0x2b849a4
I find that the file I tried to upload with 'scp_get' was created in the correct location on the server ... but is empty :-(libssh2_scp_send_ex(ss->session, path, mode, size, mtime, atime) -> 0x +2b8a0d4
I hadn't realised scp wasn't working on Windows. (I failed to notice that, since IO::Scalar was not installed, the scp tests were being skipped.) OTOH, sftp seems to work finemy $check = IO::Scalar->new; $ssh2->scp_get($remote, $check);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: ssh2 scp question
by dwindura (Novice) on Nov 14, 2008 at 00:53 UTC | |
by syphilis (Archbishop) on Nov 14, 2008 at 02:48 UTC |