curl-library
upload problem resolved
Date: Mon, 20 Oct 2008 15:23:13 +0800
Thanks very much,Dan.
Problems resolved,and it works for me now.
I'll go on digging for multithread implement and delete/rename files of sFTP,Thanks in advance for your future help.
Attached the vc6 workspace of sFTP upload implement.
------------------------------------------------
风乍起,吹绉一池春水。闲引鸳鸯香径里,手挼红杏蕊。
----- Original Message -----
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-library_at_cool.haxx.se
Subject: Re: upload connection problem with libcurl
Date: 2008-10-20 14:08:56
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 moved
-------------------------------------------------------------------
新浪空间——与朋友开心分享网络新生活!(http://space.sina.com.cn/ )
- application/zip attachment: sFTP.zip