curl-library
Re: upload connection problem with libcurl
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 19 Oct 2008 23:08:56 -0700
Date: Sun, 19 Oct 2008 23:08:56 -0700
On Mon, Oct 20, 2008 at 12:04:53PM +0800, changqin_gang wrote:
> Hi,everyone.
>
> I could not connect to my Ubuntu SSH server using libcurl to upload files,while
> sftp get file works fine(converting demo ftpget.c to sFTP).I know something
> must be wrong,but where?
What indication do you get that there was a failure? An error code? If so,
then which?
> this is the code:
[...]
> sFtppath = "sftp://192.168.1.66/home/quincy/Software";
Is this URL a valid one for the file to be received? Or is it a URL to a
directory on the remote server that is to contain the file? If the latter,
then it needs to end in a slash.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-10-20