bugGNU Wget - Bugs: bug #41906, wget option "--wait"...


bug #41906: wget option "--wait" does not work

Submitted by:  Pavel Rehulka <pavel>
Submitted on:  Wed 19 Mar 2014 12:20:17 PM UTC  
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Works For Me
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.13.4Operating System: Microsoft Windows
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 18 Nov 2014 07:36:52 AM UTC, comment #2:

No response from the original reporter.

If you still face any issues, please re-open the bug.

Darshit Shah <darnir>
Project Administrator
Thu 01 May 2014 09:20:16 AM UTC, comment #1:


I don't have a Windows system to test on, but on my Linux system, the --wait command works perfectly.

Regarding your issue with --random-wait, according to the man page, you should also specify a --wait=n value. Since random wait tries to randomly sleep for a time between 0.5 and 1.5 * wait

However, since it seems to be working perfectly fine on linux systems, my assumption is this is a platform specific issue. While Wget has limited support for Windows systems, we do not actively support it, since most of us don't have access to such systems. Similarly, we do not release any official binaries of GNU Wget for Windows systems.

Darshit Shah <darnir>
Project Administrator
Wed 19 Mar 2014 12:20:17 PM UTC, original submission:


I have tried to use wget for downloading the program from web page where the connection was cut after few kB were downloaded. So the use of continuous retrying and waiting in between became crucial. I have used the command:
wget.exe -t0 -c --wait=10 http://download2.portableapps.com/portableapps/pdf-xchangeviewerportable/PDF-XChangeViewerPortable_2.5.214.2.paf.exe

I have done it on Windows XP with wget compiled by Jernej Simomcic from web page
with versions 1.13.4 and 1.15.
This command however did not include the waiting pause between particular trials and immediately started a new trial which led to denial of connection from the downloading server. This command worked OK with versions 1.9.1 and 1.11.4. However the option --random-wait seemed not to work in these versions either.

I have also tried the dynamically linked compilation of wget program, there seemed to be a little pause included (versions 1.13.4 and 1.15) but it did not work correctly either.

I do not know if this issue appears on other platforms than the Windows one, at the moment I do not have the opportunity to test it. Thank you for your help.


P.S.: Is there any official binary download of the latest program version for Windows? I would prefer the statically linked (i.e. everything in one binary .exe file). Thank you!

Pavel Rehulka <pavel>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by darnir (Posted a comment)
  • -unavailable- added by pavel (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Nov 2014 07:36:52 AM UTCdarnirOpen/ClosedOpen=>Closed
    Thu 01 May 2014 09:20:16 AM UTCdarnirCategoryNone=>Program Logic
      StatusNone=>Works For Me

    Back to the top

    Powered by Savane 3.1-cleanup1