|Subject:||Re: Indy 10 - download article body to file|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Mon, 4 Jun 2007|
"BiT" <shirisas…@walla.com> wrote in message
> i would like to know how do i download article body to
The exact same way you do in Indy 9. GetArticle() has overriden
methods for downloading the article to a TIdMessage, TStrings, or
TStream. Any of those can then save the data to a file.
> or even to byte var' in indy 10?
TIdNNTP does not directly support that. You would have to download
the article into a TMemoryStream, and then copy that into your byte
Indy 10 - download article body to file posted by BiT on Sat, 2 Jun 2007