resume uploads using HTTP?

六月ゝ 毕业季﹏ 提交于 2019-11-29 03:21:21

Assuming you have control at a low enough level on both client and server sides of this project you could achieve this via Content-Range headers in your POST (or PUT) requests that send the data.

Yes but it seems you have to use the HTML5 file API to slice the file into chunks: http://www.html5rocks.com/en/tutorials/file/dndfiles/#toc-slicing-files

well some more info would be useful

Most easy is using http://resumablejs.com which uses

"HTML5 file API to slice the file into chunks" (as Timmmm said)


just btw - FTP can do this as well, but it might be disabled E.g. in ProFTP it is disabled by default and a common error is not enabling it ;), you would need to add

AllowStoreRestart on

to your proftpd.conf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!