cURL / Mailing Lists / curl-library / Single Mail

curl-library

upload problem resolved

From: changqin_gang <changqin_gang_at_sina.com>
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.

------------------------------------------------
风乍起,吹绉一池春水。闲引鸳鸯香径里,手挼红杏蕊。&nbsp;
----- Original Message -----
From: Dan&nbsp;Fandrich&nbsp;<dan_at_coneharvesters.com>
To: curl-library_at_cool.haxx.se
Subject: Re:&nbsp;upload&nbsp;connection&nbsp;problem&nbsp;with&nbsp;libcurl
Date: 2008-10-20 14:08:56

On&nbsp;Mon,&nbsp;Oct&nbsp;20,&nbsp;2008&nbsp;at&nbsp;12:04:53PM&nbsp;+0800,&nbsp;changqin_gang&nbsp;wrote:

>&nbsp;Hi,everyone.

>&nbsp;

>&nbsp;I&nbsp;could&nbsp;not&nbsp;connect&nbsp;to&nbsp;my&nbsp;Ubuntu&nbsp;SSH&nbsp;server&nbsp;using&nbsp;libcurl&nbsp;to&nbsp;upload&nbsp;files,while

>&nbsp;sftp&nbsp;get&nbsp;file&nbsp;works&nbsp;fine(converting&nbsp;&nbsp;demo&nbsp;ftpget.c&nbsp;to&nbsp;sFTP).I&nbsp;know&nbsp;something

>&nbsp;must&nbsp;be&nbsp;wrong,but&nbsp;where?


What&nbsp;indication&nbsp;do&nbsp;you&nbsp;get&nbsp;that&nbsp;there&nbsp;was&nbsp;a&nbsp;failure?&nbsp;&nbsp;An&nbsp;error&nbsp;code?&nbsp;If&nbsp;so,

then&nbsp;which?


>&nbsp;this&nbsp;is&nbsp;the&nbsp;code:

[...]

>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sFtppath&nbsp;=&nbsp;"sftp://192.168.1.66/home/quincy/Software";


Is&nbsp;this&nbsp;URL&nbsp;a&nbsp;valid&nbsp;one&nbsp;for&nbsp;the&nbsp;file&nbsp;to&nbsp;be&nbsp;received?&nbsp;Or&nbsp;is&nbsp;it&nbsp;a&nbsp;URL&nbsp;to&nbsp;a

directory&nbsp;on&nbsp;the&nbsp;remote&nbsp;server&nbsp;that&nbsp;is&nbsp;to&nbsp;contain&nbsp;the&nbsp;file?&nbsp;If&nbsp;the&nbsp;latter,

then&nbsp;it&nbsp;needs&nbsp;to&nbsp;end&nbsp;in&nbsp;a&nbsp;slash.


>>>&nbsp;Dan

--&nbsp;

http://www.MoveAnnouncer.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;web&nbsp;change&nbsp;of&nbsp;address&nbsp;service

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Let&nbsp;webmasters&nbsp;know&nbsp;that&nbsp;your&nbsp;web&nbsp;site&nbsp;has&nbsp;moved

-------------------------------------------------------------------
新浪空间——与朋友开心分享网络新生活!(http://space.sina.com.cn/ )

Received on 2008-10-20