Upload files even after closing the browser

时光毁灭记忆、已成空白 提交于 2021-02-11 17:27:48

问题


Can we set the php file upload as a background process? I mean I will select files and click upload button and then close the browser. But the process should be on the back ground and after successful completion i need to update the database as well. Please advice. Thanks


回答1:


No, if you shut down the client, then the client will stop sending data to the server.

If you want to upload large files on a regular basis and not have the process be interrupted by people forgetting that their browser is uploading in another tab and quitting, then you might consider using a stand-alone upload tool (along the lines of Flickr Uploadr).




回答2:


This is easily possible with a special crafted browser that you can close but that will not be removed from processing space until file-upload request have been finished.



来源:https://stackoverflow.com/questions/7695498/upload-files-even-after-closing-the-browser

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