Check write(2) return value to avoid warnings, because in this context failing write is not critical.
Attach a file by drag & drop or click to upload