I have a web page where the customers can upload documents (PNG,JPG, GIF,DOCS, DOCX, XLS,PDF). Customers can upload files from icloud, camera roll and gallery. When accessing the page in Mac Safari - all files get successfully uploaded even icloud. The upload is also successful with all other mobile devices (chrome/firefox) and windows with all browsers(chrome/firefox/safari/IE 10 11). However, when uploading file via a iphone/ipad (safari/firefox/chrome) and attaching a file from icloud it consistently fails as per the scenerios.
1. I upload 5 files (1 - camera roll, 1- gallery, 3 - icloud) via safari
- images from camera roll and gallery gets upload - other 3 files from icloud may partially or fully fail. I try the same exercise many times a and there is always full or partial failuire with upload when attached from icloud and I have not seen all the 3 files attached from icloud going through. Though I have attached different files from icloud it randomly fails inconsitently..
I checked the same with the apple support case id 100048170785 and they informed me that ios icloud may have some restrictions which may prevent consistent uploads. Not sure this is true.
Let me know if anybody else is facing this issue and is there any other way to prevent random failing of the file upload when done via icloud on IOS..
FILE upload form ios safari icloud fails inconsistently
Hello,
I am facing the exact same issue.
When uploading the document with any Safari file picking extension, I can reproduce this bug.
For instance:
- Documents by Readdle file extension
- OneDrive file extension
- iCloud Drive file extension
I understand that the problem is related with the file naming. As my company is based in France, customers can sometimes upload files that have accented characters in the name, such as é, è, ç, à...
When removing the accented characters, the file upload successfully.
After checking the $FILES variable on PHP script, I see that the file is uploaded with the sise of 0 bytes when there are accented characters within the name.
I suspect the file picker extension because it was working properly before iOS 10.1, and because I can reproduce the bug using another browser like Google Chrome on iOS.
This bug is really major because user can never upload files and must always rename their files before uploading...
Please Apple, fix it in iOS 10.2 or as soon as possible!
Thank you.
I can confirm this bug in 10.2 as well.
Uploading to server, files from a cloud storage in a simple <input type='file' tag, gives zero bytes files to the server IF the file name contains non 7 bit ASCII characters.
It's really embarrasing to tell our end users not name files in their mother language. So Apple, if you still claim to be the simple, elegant solution for all please fix this as soon as possible.
Cheers and TIA