🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50241

question about file-attachments

#50241
From: Jan Krumsiek
Date: Mon, 29 Jan 2001 01:25
30 lines
1728 bytes
i'm currently trying to write as software which can write and read usenet 
articles, i.e. a newsreader.

now i'm a bit confused about sending attachments with news-articles.
for example, i found two formats of .jpg pictures. one format is:


begin 755 xyz.jpg
M_]C_X``02D......
M!P\+"PD,$0\2$A$/$....
MVP!#`04%!0<&!PX...
etc.

and the other format is:

--(yejlzyxqmc=========__980731378)
Content-Type: Image/JPEG; name="xyz.jpg"
Content-Transfer-Encoding: Base64
Content-Description: xxxxxxx

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDA.......


the only thing i know is that the second version uses base64 encoding.

can anybody tell me how these two formats are build or can anyone tell me 
a document or file on the internet where to read that?

jan
Technical Details
Message-ID: <MPG.14dee4e0cbb50d68989685@news.btx.dtag.de>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <MPG.14dee4e0cbb50d68989685@news.btx.dtag.de>
Subject: question about file-attachments
Date: Mon, 29 Jan 2001 02:25:10 +0100
From: Jan Krumsiek <jan.krumsiek@gmx.de>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: JK Products
Lines: 29
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 980731510 04 8974 qt3qO6TTdYlbo 010129 01:25:10
X-Complaints-To: abuse@t-online.com
X-Sender: 520030093890-0001@t-dialin.net
X-Newsreader: MicroPlanet Gravity v2.30