Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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]
[karlgoethebier]: shmem: something went wrong today?
[shmem]: karlgoethebier: of course
[shmem]: has there been any single day where nothing went wrong? not in my memory
[shmem]: discovered a fuel tank leakage at my second hand motorbike. Some bloke drove a screw too long through the fairing
[shmem]: hard to fix, and plans wrecked. And more... won't tell.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-06-25 19:56 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (569 votes). Check out past polls.