假设我使用基本的多部分帖子上传了文件.然后,服务器接收到该请求,并开始执行服务器端代码. 在这种状态下,我可以以某种方式开始输出响应,并且在发送一些数据之后开始接收文件吗?最后,在上传文件后,我将输出其余响应.
Let's say that I upload a file using a basic multipart post. The server then receives the request and starts to execute the server side code. Can I somehow in that state start to output the response and after some data is sent start to receive the file? Finally when the file is uploaded I output the rest of the response.
是否可以在不使用Ajax的情况下显示文件上传进度?
If this is possible I can display file upload progress without using ajax?
我猜这可能取决于我在服务器端运行的软件.但是,假设我具有完全的网络控制权.
I guess this might depend on what I run server side. But let's assume that I have full network control.
推荐答案它不是免费的AJAX,但它似乎可以做您想做的所有事情.至少您可以根据自己的喜好对解决方案进行反向工程...
It's not AJAX-free but it seems to do everything else you want. At the very least you might be able to reverse engineer a solution more to your liking...
digitarald.de/project/fancyupload/
更多推荐
可以在不使用AJAX的情况下以某种方式显示文件上传的进度吗?
发布评论