Re: [OT] FTP question

From: Yury Chursa (yury1_at_nonexisting.hamakor.org.il)
Date: Sun 25 Jul 2004 - 14:27:50 IDT


Hello Hyams.

>Hello list,
> I need a simple code for reading from FTP server into RAM
>(no file). Is it possible to read part of a file (like random
>access) in passive mode ?
> The problem is most of the sources are very complex - each
>function resident in different file \ directory, many h files involved and
>advance features are included. Before
>implementing by the RFC, can anyone help ?
>
>
>
How about libcurl ?
You can redefine write function and store data whenever you want - in
RAM for example.
Look at curl_easy_setopt (3) for CURLOPT_WRITEFUNCTION parameter.

Regards.
Yury.

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Sun 25 Jul 2004 - 14:36:45 IDT