Subject: Re: how can I run the example in libssh2 tarball

Re: how can I run the example in libssh2 tarball

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Jul 2009 09:11:47 +0200 (CEST)

On Mon, 6 Jul 2009, Ian jonhson wrote:

Please don't top-post.

> For example,
>
> $./sftp 127.0.0.1 user user-pass ../Makefile /tmp/
> libssh2_sftp_open()!
> Unable to open file with SFTP

This example gets a file and you seem to have provided a path that fails to
get retrieved. I can't see how the server would know what file "../Makefile"
is. (and the example only gets one file so the additional one you specified
on the command line won't be used)

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-06