return a proper error when the directory is not on the current drive.
Attach a file by drag & drop or click to upload