Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Question about downloading a pdf file

by Kanji (Parson)
on Sep 27, 2003 at 04:49 UTC ( [id://294605]=note: print w/replies, xml ) Need Help??


in reply to Question about downloading a pdf file

Take a look at LWP::Simple's (alt.) getstore or mirror functions.

my $url = 'http://www.db.ucsd.edu/publications/xkeyword.pdf'; my $file = 'xkeyword.pdf'; unless ( is_success( mirror($url, $file) ) ) { warn "Couldn't download $url\n"; }

    --k.


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found