bugGNU Wget - Bugs: bug #20800, -N option does not work properly

 
 

bug #20800: -N option does not work properly

Submitter:  None
Submitted:  Fri 17 Aug 2007 01:40:10 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Schwartz, Dr. Wolf Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.10.2
Operating System:  Microsoft Windows Reproducibility:  Every Time
Fixed Release:  None Planned Release:  1.15
Regression:  None Work Required:  0 - Hours
Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Sep 2007 01:32:39 AM UTC, comment #1: 

It has been suggested that bug 20990 is the root cause for this one.

Micah Cowan <micahcowan>
Fri 17 Aug 2007 01:40:10 PM UTC, original submission:  

I want to use wget instead of a browser to download actual virus signatures every 4 hours. To avoid unneeded downloads I use the -N option.

As seen in the log file the local size of the signature file is 18626600 bytes.

Message: The sizes do not match (local 18626600) -- retrieving.

Some lines later in the log file I get the following message:

150 Opening BINARY mode data connection for symrapidreleasedefsi32.exe (18626600 bytes).
Length: 18.626.600 (18M) (unauthoritative)

This exact the size of the local file. Since the timestamp is the same as on the ftp server there is no need to do the download.

What I do not understand with another file (current.sqn)in the same directory the option works properly.

Following is the output of the command file. The log is attached to this report as an extra file.

K:\Dokumente und Einstellungen\Administrator\Desktop>m:

M:\>cd install

M:\Install>set wget_url="ftp://ftp.symantec.com/AVDEFS/norton_antivirus_corp/rapidrelease/symrapidreleasedefsi32.exe"

M:\Install>K:\Utilities\wget\wget -o wget.log -S -N -d --user=anonymous --password=************* -N "ftp://ftp.symantec.com/AVDEFS/norton_antivirus_corp/rapidrelease/symrapidreleasedefsi32.exe"

Setting --user (user) to anonymous
Setting --password (password) to -email is unavailable-
Setting --timestamping (timestamping) to 1

M:\Install>echo 0
0

M:\Install>pause
Drücken Sie eine beliebige Taste . . .

Regards

Wolf D. Schwartz













Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #13677:  wget.log added by None (34KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by micahcowan (Updated the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-27 micahcowan Planned Release1.12 1.15
    2007-09-21 micahcowan Work RequiredNone 0 - Hours
    2007-08-17 micahcowan Planned ReleaseNone 1.12
    2007-08-17 None Attached File- Added wget.log, #13677

    Back to the top

    Powered by Savane 3.13-269c.
    Corresponding source code