-
-
Notifications
You must be signed in to change notification settings - Fork 991
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
[ex/e-hentai][windows] Download fails if folder name too long #545
Comments
You can limit the length of specific fields in folder- and file-names in your config file, like this:
I.E. Maybe post that part of your config here, or just ask if you have any other questions. |
@mikf: Does that OSError still show up if we've enabled the setting in recent Win10 versions to overcome the old 260 char path limit? From what I understand, programs have to specifically use the appropriate API functions that allow long paths, so wondering whether gallery-dl has been updated accordingly? |
@SumatraPeter On Windows, all paths get prefixed with (*) https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation |
(ERRO) exhentai: Unable to download data: OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect:
Was trying to download this gallery https://exhentai.org/g/1470216/ccd35b3a22/
Maybe an automatic cutting of folder name if more than x characters?
The text was updated successfully, but these errors were encountered: