SPUG:Get URL

ced at carios2.ca.boeing.com ced at carios2.ca.boeing.com
Wed Feb 19 12:41:57 CST 2003


>  I'm sure that there's a CPAN module that I can use to get a file from a
> URL, but I can't find it.  It needs to be able to use ftp as well as http,
> as I won't know what form the URL will take.

LWP will handle both so LWP::Simple may suffice:

perl -MLWP::Simple -e 'getstore "ftp://.../foo","/path/to/localfoo"'


hth,
--
Charles DeRykus



More information about the spug-list mailing list