🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by ZeroCode Tue, 22 Dec 1998 00:00
need help
#34001
Author: ZeroCode
Date: Tue, 22 Dec 1998 00:00
24 lines
1240 bytes
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

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)

sorry if I'm not very clear :)

thanks alot.



Re: need help
#34019
Author: Jeremy
Date: Wed, 23 Dec 1998 00:00
30 lines
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")

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads