🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50244

Re: question about file-attachments

#50244
From: Andrew Gierth
Date: Mon, 29 Jan 2001 01:52
40 lines
2329 bytes
>>>>> "Jan" == Jan Krumsiek <jan.krumsiek@gmx.de> writes:

 Jan> i'm currently trying to write as software which can write and
 Jan> read usenet articles, i.e. a newsreader.

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

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

this is "uuencode" format

 Jan> and the other format is:

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

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

this is MIME format

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

The MIME specification is in RFCs 2045 through 2049, obtainable from
http://www.rfc-editor.org or any of a large number of mirror sites.

For uuencode, consult the manual page for uuencode(5) on any handy
Unix system.

-- 
Andrew.
Technical Details
Message-ID: <87k87fp1jf.fsf@erlenstar.demon.co.uk>
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!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!upp1.onvoy!onvoy.com!newsengine.sol.net!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <MPG.14dee4e0cbb50d68989685@news.btx.dtag.de>

Show Full Headers
Complete Article Headers
Message-ID: <87k87fp1jf.fsf@erlenstar.demon.co.uk>
Subject: Re: question about file-attachments
Date: Mon, 29 Jan 2001 01:52:52 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <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!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!upp1.onvoy!onvoy.com!newsengine.sol.net!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 39
NNTP-Posting-Host: erlenstar.demon.co.uk (70d9:0c64)
Cc: Jan Krumsiek <jan.krumsiek@gmx.de>
X-Mayan-Date: Long count = 12.19.7.16.14; tzolkin = 13 Ix; haab = 17 Muan
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha