Fixes #8865
add new config option 'filetransfer_preference' add drag and drop support for file upload