wget --spider

Ercolino de Spiacico bellocarico at hotmail.com
Wed Sep 29 17:45:22 UTC 2021


It would be great if busybox would allow wget to have the --spider 
option made available. --spider specifically provides the length value 
which is the size of the file we are willing to download.

This is particularly helpful in embedded devices such as opensource
router-firmware (Tomato, DD-WRT, OpenWRT, etc.) where there's no 
permanent filesystem and a squash filesystem to deal with. Often files 
are to be downloaded from Internet and end up on a filesystem hosted in 
RAM. So it would be priceless to have an option such as wget --spider to 
check the length (size) of the file to download so that a control can be 
implemented on whether to download or not based on RAM availability.

Thanks


More information about the busybox mailing list