cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reading from ftp

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 14 Apr 2002 16:10:29 +0200 (MET DST)

On Sun, 14 Apr 2002, Nedelcho Stanev wrote:

[again!]

> I need to read from ftp , but easy functions is not ok for me, cuz
> they write data to callback, and i want to do something like
> openconnection()
> while( data )
> read( void* buf)
> closeconnection()

Thinking about it, you can do this more or less with the multi interface, if
you just provide some additional code.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-14