euglug.org

[Eug-lug] simple downloading in perl

작성자

카테고리:



larry priceMon Dec 13 22:17:35 PST 2004

You could try the Net::FTP module from CPAN, and I'm pretty sure there
are wrappers for curl and wget in there as well.

As far as including it in a distribution to others..., this might help 
http://www.indigostar.com/pxman.htm

In python of course, ftplib is part of the standard library and
available everywhere you go. (batteries included ;-)

Larry-who-spent-too-much-time-getting-intimate-with-binding-substitutions-ly
yours

ps.  Other people's perl may be hell, but other people's python isn't
necessarily better, unless the other person is extremely smart AND
considerate.


On Mon, 13 Dec 2004 21:54:43 -0800, Christoph Otto
<cotto1 at cs.uoregon.edu> wrote:
> I've got a perl script written up that downloads files, among other
> things.  For my immediate purposes, using system("wget ...") works, but
> I'd like something that doesn't depend on the user having wget installed.
> Ideally, I'd like a windows user to be able to download and use the script
> without having to install any extra stuff, although this is definitely a
> long-term goal (if it's even possible).
> For now, I'd be happy with a portable way to download stuff in perl that
> doesn't depend on wget.  I don't need to do anything more elaborate than
> simply downloading, ie no posting, etc.
> Thanks.
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
> 


-- 
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?