`file-accessible-directory-p' only when the default directory is not remote.
Attach a file by drag & drop or click to upload