开发者

Drag drop uploader with html page

I want to create control, which uploads file to the server using JavaScript, with the following features

  1. Drag drop support
  2. Use only HTML and JavaScript(without any开发者_运维知识库 server side code)


This isn't going to be possible without any server side scripting to process the upload and save it on the server: http://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files


If you are familiar with node.js which is basically javascript , you can try using it along wiuth html5 elements instead of php or other server side languages to upload it to the server. But there is no way around a server side if you are going to uploade a file since it has to be stored somewhere.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜