[BusyBox 0001291]: add spider option to wget

bugs at busybox.net bugs at busybox.net
Fri Jul 11 14:19:24 PDT 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1291 
====================================================================== 
Reported By:                Franck78
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1291
Category:                   New Features
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             03-26-2007 04:40 PDT
Last Modified:              07-11-2008 14:19 PDT
====================================================================== 
Summary:                    add spider option to wget
Description: 
Hello,
The spider option allows client to test existence of a file before start
downloading it.

-s --spider

This patch basically adds an "exit(SUCCESS)" as soon as wget got the
filesize from the server.

Apply on 1.4.2/1.5

Franck

====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 04-05-07 03:32  
---------------------------------------------------------------------- 
Unfortunately your patch did still download the file.
I have implemented -s in r18333, please confirm if that works as
expected.

Thanks, 

---------------------------------------------------------------------- 
 Franck78 - 04-05-07 15:48  
---------------------------------------------------------------------- 
My patch works perfectly well on my system....

Anyway, I had put the two "exit(SUCCESS)"

to avoid having to test this

"dfp = open_socket(lsa);"
and close it because ftp mode open this socket (and not http).

Out of this, it seems ok to me ;)
Today the ipcop toolchain building on my machine is totally out of order.
Can't test before some days. 

---------------------------------------------------------------------- 
 bernhardf - 07-11-08 14:19  
---------------------------------------------------------------------- 
This is fixed since quite some time now. Closing. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-26-07 04:40  Franck78       New Issue                                    
03-26-07 04:40  Franck78       Status                   new => assigned     
03-26-07 04:40  Franck78       Assigned To               => BusyBox         
03-26-07 04:40  Franck78       File Added: busybox-1.4.2-wgetspider.patch       
            
03-26-07 04:42  Franck78       Issue Monitored: Franck78                    
04-05-07 03:32  bernhardf      Note Added: 0002297                          
04-05-07 03:32  bernhardf      Status                   assigned => feedback
04-05-07 15:48  Franck78       Note Added: 0002299                          
07-11-08 14:19  bernhardf      Status                   feedback => closed  
07-11-08 14:19  bernhardf      Note Added: 0009184                          
======================================================================



More information about the busybox-cvs mailing list