RESOLVED MOVED 151975
FileReader cannot read iCloud drive files selected with <input type="file"> in iOS 9
https://bugs.webkit.org/show_bug.cgi?id=151975
Summary FileReader cannot read iCloud drive files selected with <input type="file"> i...
Warren Ling
Reported 2015-12-07 17:19:41 PST
FileReader cannot read iCloud drive files selected with <input type="file"> in iOS 9 Repro Case: http://jsbin.com/yucavaxiyufi/1/ Repro Steps: a. Open above repro case on iOS 9. b. Select a file from iCloud drive. c. Watch the read fail with error code 4: FileError.NOT_READABLE_ERR. Possibly related to Bug 136117.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-12-07 19:46:30 PST
Jon Honeycutt
Comment 2 2015-12-09 00:02:47 PST
Bundles selected from iCloud Drive should be zipped as they are on the Mac. There's an existing radar for this that I don't have on hand right now. Non-bundles such as text files selected from iCloud Drive are readable for me using FileReader on 9.1. Can you confirm that that's the case for you as well, Warren?
Brent Fulgham
Comment 3 2015-12-09 11:10:47 PST
This is actually Radar <rdar://problem/19009562>
Brent Fulgham
Comment 4 2015-12-09 11:17:27 PST
Basically, the changes in Bug 132713 need to be done on iOS as well.
Warren Ling
Comment 5 2015-12-09 18:08:39 PST
(In reply to comment #2) > Bundles selected from iCloud Drive should be zipped as they are on the Mac. > There's an existing radar for this that I don't have on hand right now. > Non-bundles such as text files selected from iCloud Drive are readable for > me using FileReader on 9.1. Can you confirm that that's the case for you as > well, Warren? I'm using iOS9.1 and tried to select a .numbers file. It's giving an error code 4.
HireHive
Comment 6 2018-06-11 02:29:56 PDT
This is the same issue I have ticketed. https://bugs.webkit.org/show_bug.cgi?id=173548 I believe I narrowed down the issue a little further. If a file is in a users iCloud but was never accessed on the mobile device then uploading it via a file input will throw the error. However, if the file is viewed/opened in another application first then the file will upload. We get dozen of these issues a day on our application. Each time it's a user uploading a file from iCloud. These are résumé files they created on their laptops and then access on their phone for applying to job openings.
Alexey Proskuryakov
Comment 7 2018-06-11 10:59:27 PDT
*** Bug 173548 has been marked as a duplicate of this bug. ***
zac spitzer
Comment 8 2018-08-06 00:17:29 PDT
I'm also seeing this code 4 error whilst attempting to read images with fileReader from users on ios 11.4.1
Brent Fulgham
Comment 9 2022-02-10 19:59:35 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'. This should now be fixed in shipping software.
Note You need to log in before you can comment on or make changes to this bug.