Bug 8876 - add some useful wget options
Summary: add some useful wget options
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-23 02:29 UTC by eadmaster
Modified: 2022-01-27 09:20 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eadmaster 2016-04-23 02:29:54 UTC
-t,  --tries=NUMBER              set number of retries to NUMBER (0 unlimits).
 -S,  --server-response           print server response.
 -N,  --timestamping              don't re-retrieve files unless newer than local.
 -nc, --no-clobber                skip downloads that would download to
                                  existing files (overwriting them).
 --header=STRING             insert STRING among the headers.
 --max-redirect              maximum redirections allowed per page.

Without the "-t" switch sometimes wget loops indefinitely (not good for scripts).
Comment 1 eadmaster 2016-04-23 02:31:50 UTC
forgot these:
       --post-data=STRING          use the POST method; send STRING as the data.
       --post-file=FILE            use the POST method; send contents of FILE.
       --body-data=STRING          Send STRING as data. --method MUST be set.
       --body-file=FILE            Send contents of FILE. --method MUST be set.
Comment 2 Denys Vlasenko 2016-04-24 15:47:54 UTC
For busybox, bugzilla isn't working well as a feature request database. Because I can easily add gazillion of such requests, per every unimplemented option of every applet. There are more than 300 applets, so, easily about a thousand of RFEs.

I'm inclined to work more on fixing bugs. Features, maybe wait for a patch as a sign that it is REALLY important to someone?

And btw, --header is implemented.
Comment 3 lapwat 2020-05-07 15:31:39 UTC
Would appreciate the implementation of "method" and "body-file" options.
Comment 4 Axel Fontaine 2022-01-27 09:20:27 UTC
--method=METHOD is also desperately needed as this would allow busybox to issue the necessary PUT request to connect to the AWS instance metadata service v2 endpoint