[REBOL] Re: ftp dowlnoad of large file and read-io ....
From: g:santilli:tiscalinet:it at: 12-Sep-2001 14:04
Petr Krenzelok wrote:
(Dunno if this will arrive to you. US is currently out of reach
for me, hope it will get to Czech Rep. at least.)
> So I just rewrote core.pdf example of ftp download of large file, and it
> doesn't work, unless I clear the buffer each time. What am I doing
> wrong?
AFAIK READ-IO *appends* to the buffer you provide. (It doesn't,
however, enlarge it.) So you have to clear it each time, or make
it big enough to keep the whole file (when applicable :).
HTH,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/