Removed the test for a directory name with only a backslash, because this causes problems on windows.
Attach a file by drag & drop or click to upload