Don't use strerror() The error message displayed can be useful to debugging purposes.
Attach a file by drag & drop or click to upload