cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp examples

From: Luiz Rafael Culik Guimaraes <luiz_at_xharbour.com.br>
Date: Sat, 10 Sep 2005 18:15:10 -0300

Hi Daniel

Many thanks for your help.

Regards
Luiz
----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Saturday, September 10, 2005 5:27 PM
Subject: Re: ftp examples

> On Sat, 10 Sep 2005, Xharbour suporte wrote:
>
>> Dear friends
>
> Please don't use reply as a shortcut to start new threads.
>
>> I look on the examples, but could not find what I need With standart sock
>> programming , with the same handle , i can send multiples command like
>> LIST/MKD/Stor/RETR with same connection.
>>
>> How to do the same with libcurl?
>
> With libcurl you don't send commands, you transfer data. libcurl will take
> care of the command sending by itself.
>
> See the ftpget.c example.
>
>> Also. how to get the last library errono and error description?
>
> Check return code, use CURLOPT_ERRORBUFFER and curl_easy_strerror.
>
> Did you try really try reading the docs and manuals?
>
>> Also, how to upload/download multiples files with same curl handle?
>
> Use the same handle again.
>
> I think you should start your libcurl ventures by reading this:
>
> http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2005-09-10