Skip Menu |

This queue is for tickets about the File-Download CPAN distribution.

Report information
The Basics
Id: 51467
Status: new
Priority: 0/
Queue: File-Download

People
Owner: Nobody in particular
Requestors: music_man1352000 [...] yahoo.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug report
Date: Fri, 13 Nov 2009 00:26:56 +1300
To: bug-File-Download [...] rt.cpan.org
From: music_man1352000 <music_man1352000 [...] yahoo.com.au>
Hi I found a bug in version 0.3 of File::Download. The bug manifests when trying to specify a full path (that includes a file name) for the download using the 'outfile' parameter. Download is still successful when only specifying a directory. Having looked at the code, I believe the bug can be fixed by changing line 111 from "$file = $self->{file};" to "$file = $self->{outfile};". Thanks for your work :)