Occasionally I connect my Win10 computer via USB cable with my Android 14 Smartphone/Tablet and copy some files with XYplorer from Windows to Android.
This works in general. But sometimes the copy operation fails without any helpful explanation.
Further investigations showed that there is a path+filename limit on Android around 121 bytes (not chars).
It would help if XYplorer would show are corresponding meaningful error explanation like
"Path+filename length (=.....) for target Android device is longer than limit"
....and offer an auto-shorten of the filename by cutting the necessary last chars from the end of filename (but not file extension).
Can this feature be added be introduced in the next XYplorer release?
Thank you
Copy files with long path+name to Android device crashes; Meaningful popup + Auto-shorten?
-
- Site Admin
- Posts: 63523
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Copy files with long path+name to Android device crashes; Meaningful popup + Auto-shorten?
121 bytes, really? AFAIK it's 4096 bytes.
FAQ | XY News RSS | XY Bluesky
Re: Copy files with long path+name to Android device crashes; Meaningful popup + Auto-shorten?
https://stackoverflow.com/questions/132 ... in-android
At least it works when I manually shorten the filename
So its clearly a length problem
-
- Site Admin
- Posts: 63523
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Copy files with long path+name to Android device crashes; Meaningful popup + Auto-shorten?
Okay, it's not path+name but the max component length in characters that might be around 121 (depending on the actual characters). I'll check that.
FAQ | XY News RSS | XY Bluesky
-
- Site Admin
- Posts: 63523
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Copy files with long path+name to Android device crashes; Meaningful popup + Auto-shorten?
Test results: I can copy items with up to 259 characters (path+name) to Android. If it's longer I get an error message ("Path too long."). So, where's the problem?
FAQ | XY News RSS | XY Bluesky