Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 103757
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: NGLENN [...] cpan.org
Cc:
AdminCc:

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



Subject: getstore fails silently if directory doesn't exist
Download (untitled) / with headers
text/plain 545b
The following fails silently: my $status = getstore($my_url, "path/with/nonexistent/directories/file"); is_success($status); # true if $my_url was found The file is apparently downloaded, but is then lost, which is puzzling because no errors are printed out. I think the proper thing to do would be to either fail with an error message saying the destination directory doesn't exist, or to create the directory and put the downloaded file there as requested. Using Strawberry 5.20.1, LWP::Simple 6.0 (couldn't install latest version).
Download (untitled) / with headers
text/plain 679b
On Wed Apr 15 06:20:29 2015, NGLENN wrote: Show quoted text
> The following fails silently: > > my $status = getstore($my_url, > "path/with/nonexistent/directories/file"); > is_success($status); # true if $my_url was found > > The file is apparently downloaded, but is then lost, which is puzzling > because no errors are printed out. I think the proper thing to do > would be to either fail with an error message saying the destination > directory doesn't exist, or to create the directory and put the > downloaded file there as requested. > > Using Strawberry 5.20.1, LWP::Simple 6.0 (couldn't install latest > version).
Possibly related to https://rt.cpan.org/Ticket/Display.html?id=89623


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.