🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53280

posting with attachments

#53280
From: j0e
Date: Sat, 14 Jul 2001 16:03
40 lines
2138 bytes
I've been playing around with a home made nntp client and have been
experiancing problems when attempting to post files as attachments.
Can anyone tell me what I'm doing wrong or recommend some RFCs
regarding NNTP or attaching files with MIME and base64.
Below this text is the bulk of the post.

BTW, although the posts don't appear to work when viewed online,
when I did some offline testing and saved the text below as a news
file (extension .NWS) outlook express managed to read it ok and
assemble the attachment.

any help would be appreciated.

MIME-Version: 1.0
Message-ID: <a1234>
Content-Type: multipart/mixed; boundary="a1234"

--a1234
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Test test test.

--a1234
Content-Type: application/octet-stream; name="log.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="log.txt"

dGhpcyBpcyBhIHRleHQgZmlsZQ0KaSB3b25kZXIgaWYgaXQgd29ya2VkDQp0aGlzIGlzIGEg
dGV4dCBmaWxlDQppIHdvbmRlciBpZiBpdCB3b3JrZWQNCnRoaXMgaXMgYSB0ZXh0IGZpbGUN
Cmkgd29uZGVyIGlmIGl0IHdvcmtlZA0KdGhpcyBpcyBhIHRleHQgZmlsZQ0KaSB3b25kZXIg
aWYgaXQgd29ya2VkDQp0aGlzIGlzIGEgdGV4dCBmaWxlDQppIHdvbmRlciBpZiBpdCB3b3Jr
ZWQNCm==

--a1234--




Technical Details
Message-ID: <9ipqoe$4qj$1@neptunium.btinternet.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!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!diablo.netcom.net.uk!netcom.net.uk!easynet-monga!easynet-melon!easynet.net!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9ipqoe$4qj$1@neptunium.btinternet.com>
Subject: posting with attachments
Date: Sat, 14 Jul 2001 17:03:41 +0100
From: "j0e" <j0e_peters@hotmailNOSPAM.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!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!diablo.netcom.net.uk!netcom.net.uk!easynet-monga!easynet-melon!easynet.net!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail
Newsgroups: news.software.nntp
Organization: BT Internet
Lines: 39
NNTP-Posting-Host: host62-7-12-8.btinternet.com
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200