Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Downloading messages from news server

by Popcorn Dave (Abbot)
on Jun 03, 2007 at 23:56 UTC ( #619018=note: print w/replies, xml ) Need Help??


in reply to Downloading messages from news server

It looks like you're running in to two different problems.

First it appears that you're getting just a part of a multi-part file. Secondly you're going to need save the parts as binary files I believe.

Something like:

my $num = 0; binmode; ( Thanks to anonymonk for pointing out my mistake) open OUTPUT, ">filepart".$num # print your information here close OUTPUT;

As far as putting together multi-part binaries that's beyond my scope, but you're going to need to assemble the parts in order then decode them. CPAN should have the module to do the decoding for you.

Good luck!

Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

I would love to change the world, but they won't give me the source code

Replies are listed 'Best First'.
Re^2: Downloading messages from news server
by Anonymous Monk on Jun 04, 2007 at 04:37 UTC
    You're full of beans popcorn :) binmode
      You're right. I'm fighting a headcold so I beg forgiveness on that. :) (Plus I'm updating the node)
      Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

      I would love to change the world, but they won't give me the source code

        binmode OUTPUT;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://619018]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2019-07-17 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?