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 13:10:13 +0100

Hi Tim,

Am Di., 26. Nov. 2019 um 12:44 Uhr schrieb Tim Rühsen <address@hidden>:
> I would leave -R "index.html" away. The "index.html" are helpful when
> running wget multiple times.
I remove them, because the change not that often, but the content in
the subdirectory does.

> The directory errors come from Location: headers within 301 redirections.
>
> [
> explanation:
> The scanned URL says 'subdir' and when asking the server for it, we get
> a redirection 301 to 'subdir/'. Wget keeps with 'subdir' as a mitigation
> for https://www.cvedetails.com/cve/CVE-2010-2252/.
> ]
Oh crazy. Ok I understand why things go, like they go in this instance.

> To switch this security feature off, use --trust-server-names.
IT WORKS! Cool. Thank you for your support.

>
> Regards, Tim
Cheers
 Boris



reply via email to

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