New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destination and Windows UNC path #2126
Comments
Don't UNC paths have to start with a double (back)slash? I'm asking because the code from ac80474 checks for just that to determin whether a path is UNC or not. |
Yep, should be a double backslash. Here's the syntax in ABNF taken from the MSFT docs for Windows Common Data Types:
|
It's just the GitHub's editor turns |
Guys soo how much backslashes I should use? |
Two backslashes.. Like this:
|
[twitter][error] Unable to download data: OSError: [WinError 123] Синтаксическая ошибка в имени файла, имени папки или метке тома: '\\' |
Well, with the last version, gallery-dl does not work when I run it in a network folder:
|
A workable fix: Lines 281 to 282 in 0bd7607
self.realdirectory = self.realdirectory.replace("\\\\?\\\\\\", "\\\\?\\UNC\\") |
git-bash: cd "//VBOXSVR/tmp" && gallery-dl https://twitter.com/SpaceX/status/1473671809870725121 |
Yes, it's Git-Bash' issue since |
always call 'abspath()' on the directory path to handle cases when the current working directory is UNC and 'base-directory' is relative.
Looks fixed. (1.20.1-dev) |
Hello guys can you tell me how to download files correctly with a windows path like this
\192.168.2.200\username\folder\folder
now I have only
[twitter][error] Unable to download data: OSError: [WinError 123]
Can't mount folder like a network drive because VPN broadcasting issues
Python 3.10.1
The text was updated successfully, but these errors were encountered: