[wget-notify] [bug #20516] -O and -N do not get along
NoèlKöthe
INVALID.NOREPLY at gnu.org
Wed Jul 18 11:49:03 PDT 2007
URL:
<http://savannah.gnu.org/bugs/?20516>
Summary: -O and -N do not get along
Project: GNU Wget
Submitted by: nok
Submitted on: Mittwoch 18.07.2007 um 20:49
Category: User Interface
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.10.2
Operating System: GNU/Linux
Reproducibility: Every Time
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: No
_______________________________________________________
Details:
Hello,
A forwarded Debian bug http://bugs.debian.org/202911
"It seems that if the filename is changed, wget's -N timestamp and size
checking does not work. Or rather, it looks for a local file with whatever
name wget would have saved the file as without the -O, and if it exists, does
the checks on it."
I can reproduced this old report with 1.10.2:
$ LC_ALL=C wget -N http://bugs.debian.org/50595
--20:40:56-- http://bugs.debian.org/50595
=> `50595'
Resolving bugs.debian.org... 140.211.166.43
Connecting to bugs.debian.org|140.211.166.43|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50595 [following]
--20:40:57-- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50595
=> `bugreport.cgi?bug=50595'
Reusing existing connection to bugs.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[ <=>
] 36,173 50.89K/s
Last-modified header missing -- time-stamps turned off.
20:40:59 (50.83 KB/s) - `bugreport.cgi?bug=50595' saved [36173]
$ LC_ALL=C wget -N http://bugs.debian.org/50595 -O foo
--20:41:04-- http://bugs.debian.org/50595
=> `foo'
Resolving bugs.debian.org... 140.211.166.43
Connecting to bugs.debian.org|140.211.166.43|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50595 [following]
--20:41:04-- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50595
=> `foo'
Reusing existing connection to bugs.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Server file no newer than local file `bugreport.cgi?bug=50595' -- not
retrieving.
$ ls -l
insgesamt 36
-rw-r--r-- 1 nk nk 36173 2007-07-18 20:40 bugreport.cgi?bug=50595
-rw-r--r-- 1 nk nk 0 2007-07-18 20:41 foo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20516>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
More information about the wget-notify
mailing list