1 --- bin/lwp-download 2004-11-14 07:36:25.000000000 +0100
2 +++ bin/lwp-download 2004-12-10 21:12:41.136510344 +0100
10 + if (defined $argfile && -d $argfile) {
11 + ($directory, $argfile) = ($argfile, undef);
14 + unless (defined $argfile && length $argfile) {
15 # must find a suitable name to use. First thing
16 # to do is to look for the "Content-Disposition"
17 # header defined by RFC1806. This is also supported
22 + if (defined $directory) {
24 + $file = File::Spec->catfile($directory, $file);
27 # Check if the file is already present
32 die "Usage: $progname [-a] <url> [<lpath>]\n";