bug-wget
[Top][All Lists]
Advanced

[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: Boris Behrens
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:22:36 +0100

Am Di., 26. Nov. 2019 um 11:04 Uhr schrieb Tim Rühsen <address@hidden>:
> 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.
Ah ok. That could indeed be a problem. I am not sure if this is the
problem here.
I am not fit enough with therese kind of things.

> 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.
Sweet. Well if this is expected behavior I need to find a way to handle this.

> What if you explicitly add --clobber after --mirror ?
setting '--mirror --clobber' does not solve the problem. wget does not
create .<N> files.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]