Re: Sorry this is B ug: Savetofile with > 600kb

Giganews Newsgroups
Subject: Re: Sorry this is B ug: Savetofile with > 600kb
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Wed, 21 Apr 2004

"Karl Estermann" <k…@aals.ch> wrote in message
news:EAE5D979559AE240k…@aals.ch...

> it works, but the size of the file is 605 kb it should be 1.2 mb.

If it is only 605 Kb, then only 605 Kb bytes of data were
transferred/decoded from the message to begin with.  TIdAttachment does not
decode the file data when you call SaveToFile(), it is decoded and stored to
a temporary file as soon as the message is downloaded from the server.  All
SaveToFile() is doing is copying the temporary file to the location you
specified, nothing more.

Gambit

Replies

In response to

Sorry this is B ug: Savetofile with > 600kb posted by Karl Estermann on Wed, 21 Apr 2004