Skip Menu |

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

Report information
The Basics
Id: 23864
Status: resolved
Priority: 0/
Queue: File-Fetch

People
Owner: Nobody in particular
Requestors: deshe.idan [...] gmail.com
Cc:
AdminCc:

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



Subject: File:Fetch does not use quotation marks while using wget
While trying to download a URL as: http://www.myweb.com/somefile.asp?var=100&anothervar=200 I receive the following error: 'wget' said it fetched 'somefile.asp?var=100&anothervar=200', but it was not created at ./SomePerlScript.pl line (Some Line Number) ------------------------------------------------------------------------ sub _wget_fetch { my $self = shift; my %hash = @_; my ($to); my $tmpl = { to => { required => 1, store => \$to } }; check( $tmpl, \%hash ) or return; ### see if we have a wget binary ### if( my $wget = can_run('wget') ) { ### no verboseness, thanks ### my $cmd = [ $wget, '--quiet' ]; ### if a timeout is set, add it ### push(@$cmd, '--timeout=' . $TIMEOUT) if $TIMEOUT; ### run passive if specified ### push @$cmd, '--passive-ftp' if $FTP_PASSIVE; ### add " to the end and the start of the uri my $new_url = join('"',$self->uri,'"'); ### set the output document, add the uri ### push @$cmd, '--output-document', $to, $new_url; ### shell out ### As can be seen I have added a join sub to add "URL" to the uri but this was not helpful.... Idan Deshe. deshe.idan@gmail.com
On Fri Dec 08 19:53:11 2006, idand wrote: Show quoted text
> While trying to download a URL as: > > http://www.myweb.com/somefile.asp?var=100&anothervar=200 > > I receive the following error: > > 'wget' said it fetched 'somefile.asp?var=100&anothervar=200', but it was > not created at ./SomePerlScript.pl line (Some Line Number)
Hi, thanks for reporting this issue. I've addressed it in a development release which you can grab here: https://pause.perl.org/pub/PAUSE/authors/id/K/KA/KANE/File-Fetch-0.09_01.tar.gz or soon from a CPAN mirror near you. If you could verify that your problem has gone away, i'll promote this development release to an official CPAN release. Thanks again, Jos
Subject: Re: [rt.cpan.org #23864] File:Fetch does not use quotation marks while using wget
Date: Thu, 4 Jan 2007 10:21:09 +0200
To: bug-File-Fetch [...] rt.cpan.org
From: "Idan Deshe" <deshe.idan [...] gmail.com>
Hi, I can't download the file because the URL needs credentials in order to login and download. regards, Idan. On 1/3/07, via RT <bug-File-Fetch@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=23864 > > > On Fri Dec 08 19:53:11 2006, idand wrote:
> > While trying to download a URL as: > > > > http://www.myweb.com/somefile.asp?var=100&anothervar=200 > > > > I receive the following error: > > > > 'wget' said it fetched 'somefile.asp?var=100&anothervar=200', but it was > > not created at ./SomePerlScript.pl line (Some Line Number)
> > Hi, > > thanks for reporting this issue. I've addressed it in a development > release > which you can grab here: > > > https://pause.perl.org/pub/PAUSE/authors/id/K/KA/KANE/File-Fetch-0.09_01.tar.gz > > or soon from a CPAN mirror near you. > > If you could verify that your problem has gone away, i'll promote this > development > release to an official CPAN release. > > Thanks again, > > Jos > >
Subject: Re: [rt.cpan.org #23864] File:Fetch does not use quotation marks while using wget
Date: Thu, 4 Jan 2007 11:27:35 +0100
To: Idan Deshe via RT <bug-File-Fetch [...] rt.cpan.org>
From: kane [...] xs4all.nl
On Thu, Jan 04, 2007 at 03:21:26AM -0500, Idan Deshe via RT wrote: Show quoted text
> I can't download the file because the URL needs credentials in order to > login and download.
It's now also available on the CPAN mirrors, like for example: http://search.cpan.org/CPAN/authors/id/K/KA/KANE/File-Fetch-0.09_01.tar.gz Regards, Jos
Subject: Re: [rt.cpan.org #23864] File:Fetch does not use quotation marks while using wget
Date: Thu, 4 Jan 2007 13:43:29 +0200
To: bug-File-Fetch [...] rt.cpan.org
From: "Idan Deshe" <deshe.idan [...] gmail.com>
I have checked it and seems OK. Regards, Idan. On 1/4/07, kane@xs4all.nl via RT <bug-File-Fetch@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=23864 > > > On Thu, Jan 04, 2007 at 03:21:26AM -0500, Idan Deshe via RT wrote:
> > I can't download the file because the URL needs credentials in order to > > login and download.
> > It's now also available on the CPAN mirrors, like for example: > > > http://search.cpan.org/CPAN/authors/id/K/KA/KANE/File-Fetch-0.09_01.tar.gz > > Regards, > > Jos > >
On Thu Jan 04 06:44:00 2007, idand wrote: Show quoted text
> I have checked it and seems OK.
Thanks for checking this. An issue came up on Win32 that broke with the new quoting mechanism. I have uploaded 0.09_02 that should address these, and the person reporting the win32 issue will verify it works. After that, an 0.10 will be uploaded to CPAN. Thanks again for your input, -- Jos
Subject: Re: [rt.cpan.org #23864] File:Fetch does not use quotation marks while using wget
Date: Sun, 7 Jan 2007 22:36:13 +0200
To: bug-File-Fetch [...] rt.cpan.org
From: "Idan Deshe" <deshe.idan [...] gmail.com>
Thanks !!! Idan. On 1/7/07, via RT <bug-File-Fetch@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=23864 > > > On Thu Jan 04 06:44:00 2007, idand wrote:
> > I have checked it and seems OK.
> > Thanks for checking this. An issue came up on Win32 that broke with the > new quoting mechanism. I have uploaded 0.09_02 that should address these, > and the person reporting the win32 issue will verify it works. > > After that, an 0.10 will be uploaded to CPAN. > > Thanks again for your input, > > -- Jos > >