Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Reading img file through URL

by elef (Friar)
on Jan 23, 2011 at 11:38 UTC ( #883762=note: print w/ replies, xml ) Need Help??


in reply to Re: Reading img file through URL
in thread Reading img file through URL

Seconded. There is no point monkeying around with some other solution when wget just works (on linux). On Windows, you need to supply a wget binary yourself, and on OS X, use curl.
Finding (and bundling, if you distribute the code) a wget binary is not that big a deal though.


Comment on Re^2: Reading img file through URL
Re^3: Reading img file through URL
by JavaFan (Canon) on Jan 23, 2011 at 13:53 UTC
    wget is available for OS X using ports.
      I know, but curl is preinstalled, so it's more convenient.
      The command is easy to look up and it will probably be the same as the wget command, except you have to use -o (lower case) instead of -O (upper case) when you specify the download location and filename. Or maybe even -O will work, I never tried.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-12-25 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls