flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

Chrome's FileSystem API has a bug reading files from dropped folders or input dialog's selected folder #301

Open vsta opened 4 years ago

vsta commented 4 years ago

Chrome 83.0.4103.61, Windows 10.0.18362 Chrome's FileSystem API has a bug that files from dropped folders or files from input dialog's selected folder, with read errors (has absolute paths which exceed 260 chars) will have zero file size. When dropped folder has any file with absolute paths which exceeds 260 chars, upload should report read errors. When input dialog is used to select folder, files with absolute paths which exceeds 260 chars, will be uploaded with zero length. These files should not be uploaded, it should report read errors.

Firefox 76.0.1, Windows 10.0.18362 doesn't have this bug, but it will not upload files with absolute path which exceeds 260 chars.

Edge 44.18362.449.0, Windows 10.0.18362 uploads all files regardless of the absolute path length.