[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' e
From: |
Tim Rühsen |
Subject: |
Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded |
Date: |
Tue, 26 Nov 2019 11:04:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
Hi Boris,
On 11/26/19 10:55 AM, Boris Behrens wrote:
> Am Di., 26. Nov. 2019 um 10:13 Uhr schrieb Tim Rühsen <address@hidden>:
>> this very depends on the web site structure, so it may take some time to
>> reproduce with an artificial (test) site.
> I will hand you the URL off list.
Good.
I think you run into the (well-known) issue that there are URLs like
name/
which is saved as
name/index.html
Then later there is
name
which should be saved as 'name' but there already is a a subdir with
that name.
Since with recursive (especially mirroring/timestamping) downloads
'clobbering' is off, no .<N> extensions are generated. Doing so in older
wget versions was possibly considered a bug.
What if you explicitly add --clobber after --mirror ?
>> Could you also test the latest master (git clone
>> https://git.savannah.gnu.org/git/wget.git) and let us know the result ?
> current master (Wget 1.20.3.41-96d74) behaves the same as the one
> coming with centos (Wget 1.19.5)
Thanks.
Regards, Tim
signature.asc
Description: OpenPGP digital signature
- Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/25
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Tim Rühsen, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded,
Tim Rühsen <=
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Tim Rühsen, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Tim Rühsen, 2019/11/26
- Re: Refreshing a mirror throws 'Cannot write to .... (Is a directory)' error, when the directory is alreary downloaded, Boris Behrens, 2019/11/26