Using the file upload element on pretty much default settings, local storage, no ajax, I have an issue with blank uploads of microsoft office files, especially docx.
It's relatively rare, probably somewhere in the region of 0.5% of form submissions.
The file is uploaded, retains filename, and opens fine when downloaded, but is blank and has a filesize of 0kb. Reupload the same local file again, and it works fine, it seems random.
If this error rate is just par for the course, is it easy to subsequently validate for != 0kb somehow without manually opening each upload?
For example, a manually triggered list php plugin? Something that updates a field to 1 if > 0kb, or something like that?
Or is there a possibility something is wrong with the setup?
It's relatively rare, probably somewhere in the region of 0.5% of form submissions.
The file is uploaded, retains filename, and opens fine when downloaded, but is blank and has a filesize of 0kb. Reupload the same local file again, and it works fine, it seems random.
If this error rate is just par for the course, is it easy to subsequently validate for != 0kb somehow without manually opening each upload?
For example, a manually triggered list php plugin? Something that updates a field to 1 if > 0kb, or something like that?
Or is there a possibility something is wrong with the setup?
Last edited: