Summary: | MTP transfer fails for files with the double quote (") character in the file name | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | Heinrich Zander <heinrich.zander> |
Component: | MTP | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | elvis.angelaccio, sitter |
Priority: | NOR | ||
Version: | 22.04.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Heinrich Zander
2022-06-14 14:39:13 UTC
This is most likely a variant of https://github.com/libmtp/libmtp/issues/71 specifically " is a reserved character on windows [1] so it appearing in filenames wouldn't be portable and your phone may consequently reject the filename. I've had a look at our code and we do nothing fancy with the name, so whatever is wrong is inside libmtp and that linked issue seems like the prime candidate (e.g. note how the reserved windows characters are missing from the expression on the s10, most notably " is missing) [1] https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file |