These messages look like the underlying software you're using to do the mounting cannot handle the special characters that wget is
using due to the --restrict-file-names=windows argument.
Per thecp: cannot create directory `/mnt/Desktop/WebSites/foo/www.johndoeandjanedoe.com/ru/\321%81ка\321%87а\321%82\321%8C': Protocol error
wget man
page
--restrict-file-names=modesChange which characters found in remote URLs must be escaped during generation of local filenames. Characters that are restricted by this option are escaped, i.e. replaced with %HH, where HH is the hexadecimal number that corresponds to the restricted character. This option may also be used to force all alphabetical cases to be either lower- or uppercase.
...
When "windows" is given, Wget escapes the characters \, |, /, :, ?, ", *, <, >, and the control characters in the ranges 0--31 and 128--159. In addition to this, Wget in Windows mode uses + instead of : to separate host and port in local file names, and uses @ instead of ? to separate the query portion of the file name from the rest. Therefore, a URL that would be saved as www.xemacs.org:4300/search.pl?input=blah in Unix mode would be saved as www.xemacs.org+4300/search.pl@input=blah in Windows mode. This mode is the default on Windows.

本文探讨了使用wget工具时遇到的问题,特别是在使用--restrict-file-names=windows参数时如何处理URL中的特殊字符。文中详细解释了该参数的作用及在不同模式下对文件名的影响。
2万+

被折叠的 条评论
为什么被折叠?



