🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Rainer Hahnekamp Mon, 17 Mar 2003 23:03
problem with attached file
#64428
Author: Rainer Hahnekamp
Date: Mon, 17 Mar 2003 23:03
19 lines
1730 bytes
hello,

i've written a perl script, that automatically downloads pictures, which
are attached to articles.
the script downloads the whole article and then removes the header rows
and the blank line. the rest of the text stream is stored within a file
with jpg as extension. since i cannot open or view it, the file seems to
be not valid.
as next step i downloaded the picture by using a normal news reader
program. then i compared the two files and found out, that they are
completely different.

are attached files encoded in a special way i should know, or what is
going on here?
please help!

greetings,
-rainer hahnekamp
Re: problem with attached file
#64436
Author: Jeffrey M. Vinocur
Date: Tue, 18 Mar 2003 01:22
20 lines
1646 bytes
In article <pan.2003.03.17.23.03.58.41450@msn.com>,
Rainer Hahnekamp <rainer_hahnekamp@msn.com> wrote:
>
>the script downloads the whole article and then removes the header rows
>and the blank line. the rest of the text stream is stored within a file
>with jpg as extension. since i cannot open or view it, the file seems to
>be not valid. [...]
>
>are attached files encoded in a special way i should know, or what is
>going on here?

Yes, there many encodings used on Usenet, including most notably
uuencode and yEnc.  I would suggest that you consult the archives
(at http://groups.google.com/) of this group to find out more.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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