Re: Read NNTP content manually problem

Giganews Newsgroups
Subject: Re: Read NNTP content manually problem
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Tue, 5 Jun 2007

"BiT" <shirisas…> wrote in message

> Hi I Use SendCmd() directly, and then read the response
> content manually via ReadBytes()

Why are you doing that?  You shouldn't be.  As I told you yesterday,
the NNTP class has methods to handle all of that kind of stuff for
you.  I guess you did not read the documentation yet.  For example:

    Dim _NNTP As New NNTP

    _NNTP.Username = "*********"
    _NNTP.Password = "*********"

    Dim oFileStream As System.IO.FileStream
    oFileStream = New System.IO.FileStream("c:\test\data.txt",

l>", oFileStream)




In response to

Read NNTP content manually problem posted by BiT on Tue, 5 Jun 2007