Article View: news.software.nntp
Article #34019Re: need help
From: Jeremy
Date: Wed, 23 Dec 1998 00:00
Date: Wed, 23 Dec 1998 00:00
30 lines
1554 bytes
1554 bytes
ZeroCode <patricka@videotron.ca> wrote:
> Hi
> I'm writing a simple program
> I want my program to go and fetch files for me
>
> - I'm able to connect to my news server
> - I'm able to join a newsgroup
> - I'm able to choose a message
> - but when I'm reading that message my program is treating the attachement
> just like a text and writing the content in my textbox
Yes, that's what you should expect.
> oh by the way I'm coding my program with VisualBasic
>
> my question is:
>
> 1- how can I know if there is a attachement in a message
> 2- how can I download only that attachement (file)
There is no such thing as an "attachment" as far as NNTP is concerned.
The message body is just a single stream of text. You will have to
detect and decode binary "attachments" yourself, in your own code.
--
Jeremy | jeremy@exit109.com
"Bunch of savages in this town!" --Dante ("Clerks")
Technical Details
Message-ID:
<75rmnn$mkh$1@east44.supernews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6kYf2.1144$zk3.2200@weber.videotron.net>Show Full Headers
Complete Article Headers
Message-ID: <75rmnn$mkh$1@east44.supernews.com> Subject: Re: need help Date: Wed, 23 Dec 1998 00:00:00 +0000 From: Jeremy <jeremy@exit109.com> References: <6kYf2.1144$zk3.2200@weber.videotron.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 425303485 X-Complaints-To: newsabuse@remarq.com X-Trace: 914447927 HGJFWBHQJ4003D0E1 east44.supernews.com Organization: There Is No Organization Newsgroups: news.software.nntp