每个 Flash 上传器都给出了糟糕的进度值 [英] Every flash uploader giving bad progress values

查看:16
本文介绍了每个 Flash 上传器都给出了糟糕的进度值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我去年初为一个内部网站编写的文件上传脚本在许多机器上运行异常.在某些机器上,它始终运行良好,而在其他机器上,它始终运行不正常.我在使用 YUI Uploader、SWFUpload(2.2 和 2.5a)和 Uploadify 时遇到了完全相同的问题.

The file upload script I wrote early last year for an internal website has been misbehaving oddly on a number of machines. On some machines it consistently works fine, on others it consistently misbehaves. I am having exactly the same problem with YUI Uploader, SWFUpload (2.2 and 2.5a), and Uploadify.

在行为不端的机器上,进度事件(或回调视情况而定)报告上传速度太快.它的进展速度约为 9 或 10MB/s,而不是实际的 50 或 60kb/s.进度条很快填满,然后就不会再触发进度事件了.几分钟后,完成事件会在实际上传完成时触发.

On the misbehaving machines, the progress event (or callback as the case may be) is reporting the upload going far too quickly. It is progressing around 9 or 10MB/s, instead of the 50 or 60kb/s that is actually going on. The progress bar fills up very quickly, and then no more progress events are triggered. A few minutes later the completion event will trigger when the upload is actually done.

我必须强调,文件上传确实正常进行,即使报告的进度非常错误.

I must emphasize that the file upload does proceed normally, even though the progress being reported is very wrong.

进度事件报告的文件大小正确,但报告的上传数量通常太高,而且似乎始终是 2^16 (65536) 的倍数.

The progress events are reporting a correct file size, but the reported amount uploaded is usually way too high, and it appears that it is always a multiple of 2^16 (65536).

我只在 Windows XP 上的 Firefox 3.5 上遇到了这个问题,所有这些都具有 Flash 10 的各种不同版本.

I'm only having this problem with Firefox 3.5 on Windows XP, all of which have various subversions of Flash 10.

有没有人听说过这种情况,或者知道发生了什么?

Has anyone heard of this happening, or have any idea what is going on?

(我要去提交一些错误报告,但希望这里有人以前有这方面的经验.)

(I'm off to go file a number of bug reports, but hopefully someone here has some previous experience with this.)

推荐答案

结果是 AVG 代理了请求.就 Flash 而言,它上传的速度非常快......到 AVG.然后 AVG 在后台继续上传.

Turns out it was AVG that was proxying the requests. As far as the Flash was concerned it was uploading it very very quickly... into AVG. AVG then proceeded to upload in the background.

这篇关于每个 Flash 上传器都给出了糟糕的进度值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆