Skip to content

MPagel/file-download-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File::Download 0.4_050601 -- a module for downloading large files in perl > 5.6.1

	Copyright (c) 2015 Matt Pagel, Byrne Reese, Gisle Aas. All rights reserved.
	This program is free software; you can redistribute it and/or
	modify it under the same terms as Perl itself.

To install this module, please run:

	perl Makefile.PL
	make
	make test
	make install
	
or
	manually create a File-Download subdirectory within your cpan/build directory
	move or extract all files from this repository into the new directory
	navigate to that directory at a command/shell prompt and type
		cpan .

For more information on the module, please see the POD documentation
inside Download.pm. ("perldoc File::Download", once it is installed.)

DISCLAIMER

The code for this module is taken almost entirely from the lwp-download
script found in LWP or libwww-perl. It has been abstracted into a 
module for better portability and re-use.

USAGE

my $dwn = File::Download->new({
    file => $argfile,
    overwrite => 1,
    mode => ($opt{a} ? 'a' : 'b'),
});

print "Downloading $url\n";
print $dwn->download($url);
print $dwn->status();

About

A perl module for downloading large files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%