How can I let users upload files by copy/paste?

前端 未结 2 878
灰色年华
灰色年华 2021-01-04 21:06

I\'m trying to create a web app based on ExtJS, and I\'m working on the file-upload area of the app.

I want users to be able to upload files by copying and pasting

2条回答
  •  无人及你
    2021-01-04 21:32

    I've seen that DropBox.com allows this to be done (in chrome- didn't seem to work in IE). I didn't do cut and paste specifically, but dragged files into a dropbox page from a local folder, and it uploaded the files. So, this doesnt directly answer your quesiton, but perhaps you can look at how this is done in their code.

提交回复
热议问题