是否可以在 php 后在服务器端恢复文件上传?如果是,如何?

Is it possible to resume file upload on server side in php? If yes, how ?

在上传文件时,假设用户的连接丢失了,那么我们该如何处理这种情况,用户希望恢复文件上传而不是重新启动。

Yes, you can do it. Best you have to use any plugin or javascript library, or you can do it using core php. divide your image in small pieces(use any tool for this), upload that small pieces on server one by one and get response from server after each successful upload. In the middle if connection lost then we are sure we have uploaded 3 small piece on server (1 image = 5 small piece). Then after if we connected again then 1st it check how many small images uploaded, server give response 3 then remaining 2 small images will be upload on server