[BusyBox 0001291]: add spider option to wget

bugs at busybox.net bugs at busybox.net
Thu Apr 5 22:48:27 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
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:                     feedback
====================================================================== 
Date Submitted:             03-26-2007 04:40 PDT
Last Modified:              04-05-2007 15:48 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. 

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                          
======================================================================




More information about the busybox-cvs mailing list