linux - How to config wget to retry more than 20? -
i used d4x continue download, it's obsolete ubuntu. use flashgot wget continue download. wget stops after 20 tries, have restart manually. there conf file modify retry times more 20?
the wget cli automatic created wget, please don't tell me make options wget cli.
use the --tries
option:
wget --tries=42 http://example.org/
specify --tries=0
or --tries=inf
infinite retrying (default 20 retries).
the default value can changed via config file, if thing; open /etc/wgetrc
, there for:
# can lower (or raise) default number of retries when # downloading file (default 20). #tries = 20
uncomment tries=20
, change want.
the default retry 20 times, exception of fatal errors "connection refused" or "not found" (404), not retried
Comments
Post a Comment