Package: wget Version: 1.11.2-1 Severity: normal
Combining -nc and -O fails, but seperately each option does the right thing. When combined, a zero-byte file is left in the file system, and no effort is made to download from the target URL. This seems to be a regression since Wget 1.10.2, where -nc and -O work correctly, allowing the file to be downloaded and saved. Demonstrate that -nc works correctly: > wget -nc http://www.google.com/ ... 13:24:16 (166.94 MB/s) - `index.html' saved [6477] > wget -nc http://www.google.com/ File `index.html' already there; not retrieving. Demonstrate that -O works correctly: > wget http://www.google.com/ -O foo.htm ... 2008-06-17 13:18:17 (2.24 MB/s) - `foo.htm' saved [6487] Demonstrate that together they fail: > ls ... no files found ... > wget -nc http://www.google.com -O foo.htm File `foo.htm' already there; not retrieving. > ls -rw-r--r-- 1 delph delph 0 2008-06-17 13:18 foo.htm -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wget depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii libssl0.9.8 0.9.8g-10+lenny1 SSL shared libraries wget recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]