Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Download PDF's

by b10m (Vicar)
on Jun 19, 2008 at 15:01 UTC ( #692937=note: print w/replies, xml ) Need Help??

in reply to Re^2: Download PDF's
in thread Download PDF's

Even easier:

use strict; use LWP::Simple qw/getstore/; my $url = "http://blahblah/file.pdf"; my $file = "/home/user/file.pdf"; getstore($url, $file);

Replies are listed 'Best First'.
Re^2: Download PDF's
by Godsrock37 (Sexton) on Jun 19, 2008 at 15:04 UTC

    haha, thanks b10m that looks awesome. i think i'm set then

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://692937]
[shmem]: erix: bad idea. PerlMonks is based on everything
[robby_dobby]: shmem:everything2
robby_dobby says Sorry and points to his boredom
[shmem]: robby_dobby: since everything is everything, it is thus also everything2. And everything2 is based on... you name it.
[Corion]: Mhhmmm. I just had to remind two contractos of their priorities from my point of view. This felt somewhat like getting my godson+siblings to clean their room, including the evil eye I threw them ;)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-04-25 13:29 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (454 votes). Check out past polls.