momo33 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

For a simple program I need to download a file using an URL. At the moment I use File::Download but it's error reporting is not perfect. Is there a better module that is available on ActiveState and for MS-Windows and Linux?

Thank you all, Bobby

Replies are listed 'Best First'.
Re: file download
by Corion (Patriarch) on Jan 04, 2011 at 09:07 UTC

    Have you looked at LWP::Simple and/or File::Fetch? If these are still too simplicistic in their error reporting, likely LWP::UserAgent will give you more information about the error when it happens.

      One of these two must do it. Thank you.