🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jan Krumsiek Mon, 29 Jan 2001 01:25
question about file-attachments
#50241
Author: 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
Re: question about file-attachments
#50244
Author: 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.
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