(
Jump to the original submission)
Fri 22 Aug 2008 11:56:54 PM UTC, comment #11:
Test for mainline in 419c27cecfc5.
|
Mon 30 Jun 2008 04:43:29 AM UTC, comment #10:
Fixed for 1.11.4 in 19e892e84590.
Retargeting for 1.12 for a test to be written.
|
Tue 17 Jun 2008 05:54:31 PM UTC, comment #9:
Yeah, sorry. I thought I'd tested this with 1.10.2, and gotten the same behavior. But, I may have used /usr/bin/wget from work, which is a Red Hat-modified version, which could have thrown me off. Anyway...
|
Tue 17 Jun 2008 05:51:26 PM UTC, comment #8:
I agree that it is a regression...primarily because the behavior is different from previous versions...but I can see it either way so I didn't fight it.
|
Tue 17 Jun 2008 05:41:02 PM UTC, comment #7:
Also, I may have been wrong: it may have been a regression after all. Canonical 1.10.2 behavior appears to be that Wget always downloads, regardless of -nc. The fix looks better, to me: honors -nc properly.
|
Tue 17 Jun 2008 05:39:24 PM UTC, comment #6:
Retargeting for a possible 'nother 1.11.x release.
|
Fri 16 May 2008 06:30:38 AM UTC, comment #5:
Resolved for mainline in 85298083bf02.
|
Wed 14 May 2008 10:17:22 PM UTC, comment #4:
Patch was submitted via IRC; jff will upload it later.
|
Mon 12 May 2008 05:47:52 PM UTC, comment #3:
Fair enough.
|
Mon 12 May 2008 05:29:30 PM UTC, comment #2:
I think --no-clobber should be allowed to be combined with -O, but if the file specified in -O exists, it should exit.
|
Mon 12 May 2008 05:13:22 PM UTC, comment #1:
-O does not specify a directory, it specifies a file, to which all downloaded content will be placed.
--no-clobber seems a very odd switch to use in combination with -O, considering any clobbering will have been done before Wget even starts to connect. But yeah, it shouldn't do its no-clobber checks anywhere other than at the start, when -O is used.
Perhaps --no-clobber should simply be disallowed, as -N and -O currently are.
Setting Regression -> No on this report, since 1.10.2 exhibits the same behavior.
|
Mon 12 May 2008 04:42:04 PM UTC, original submission:
If you specify the --no-clobber switch with the -O option to specify the output directory, it will invariably not download the file reporting "file already there".
e.g.:
# rm /tmp/foo
# ls -l /tmp/foo
ls: cannot access /tmp/foo: No such file or directory
# wget --version
GNU Wget 1.11.1
...
# wget --no-clobber -O /tmp/foo http://gnu.org
File `/tmp/foo' already there; not retrieving.
# ls -l /tmp/foo
-rw-r--r-- 1 root root 0 May 12 12:39 /tmp/foo
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 23 latest changes.
| Date |
Changed By |
Updated Field |
Previous Value |
=> |
Replaced By |
| Fri 22 Aug 2008 11:56:54 PM UTC | micahcowan | Open/Closed | Open |  | Closed |
| Fri 22 Aug 2008 11:56:53 PM UTC | micahcowan | Status | Ready For Test |  | Fixed |
| Mon 30 Jun 2008 04:43:29 AM UTC | micahcowan | Priority | 5 - Normal |  | 9 - Immediate |
| | | Status | Confirmed |  | Ready For Test |
| | | Planned Release | 1.11.4 |  | 1.12 |
| Tue 17 Jun 2008 05:41:02 PM UTC | micahcowan | Regression | No |  | Yes |
| Tue 17 Jun 2008 05:39:24 PM UTC | micahcowan | Status | Fixed |  | Confirmed |
| | | Open/Closed | Closed |  | Open |
| | | Planned Release | 1.12 |  | 1.11.4 |
| Fri 16 May 2008 06:30:38 AM UTC | micahcowan | Status | Ready for Merge |  | Fixed |
| | | Assigned to | micahcowan |  | None |
| | | Open/Closed | Open |  | Closed |
| | | Fixed Release | None |  | 1.12 |
| Wed 14 May 2008 10:26:11 PM UTC | jff | Attached File | - |  | Added 23238.patch, #15665 |
| Wed 14 May 2008 10:17:22 PM UTC | micahcowan | Status | Confirmed |  | Ready for Merge |
| | | Assigned to | jff |  | micahcowan |
| | | Planned Release | 1.15 |  | 1.12 |
| | | Patch Included | None |  | Yes |
| Wed 14 May 2008 08:44:48 PM UTC | jff | Assigned to | None |  | jff |
| Mon 12 May 2008 05:13:22 PM UTC | micahcowan | Severity | 3 - Normal |  | 2 - Minor |
| | | Status | None |  | Confirmed |
| | | Planned Release | None |  | 1.15 |
| | | Regression | Yes |  | No |