Cache the information about whether or not the server supports READDIRPLUS.
Attach a file by drag & drop or click to upload