Re: FTP put tries to load the whole file

Giganews Newsgroups
Subject: Re: FTP put tries to load the whole file
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Fri, 17 Feb 2006

"Lucky Luciano" <ali…@cyber-colony.net> wrote in message
news:EE5A42A6AFEDE240ali…@cyber-colony.net...

> I am trying to use 10.1.5 because I need the LargeStream property
> for FTP. But actually the TIdFTP.Put method tries to load the whole
> file at once, until an out of memory error occurs.

Put() does not try to load the whole file into memory.  It uses a
TFileStream, thus the bulk of the data remains on the hard drive only, and
then sends the stream contents in small chunks.

Gambit

Replies

In response to

FTP put tries to load the whole file posted by Lucky Luciano on Fri, 17 Feb 2006