SWF上传IO错误

发布于 2024-11-04 22:43:14 字数 170 浏览 0 评论 0原文

我在我的网站中使用 SWFUpload 来上传文件。一位用户在所有浏览器中始终出现 IO 错误,这使我得出结论:他的闪存一定已损坏。

但我们有什么办法可以检测到这一点,以便我可以给他提供替代品。

在创建swfupload对象时,有什么方法可以调用服务器并检查flash是否能够成功连接到服务器。

I am using SWFUpload in my website for uploading files. One of the user is consistently getting IO error across all browser which leads me to the conclusion that his flash must be corrupt.

But is there any way by which we can detect this so that I can give him alternates.

While creating the swfupload object, is there any way by which we can make a call to the server and check if the flash is able to make a successfull connection to the server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流殇 2024-11-11 22:43:14

我在诊断这个问题时也遇到了问题。后来它出现在两台 64 位 Windows 7 机器上。所有浏览器都出现IO错误,它们是新安装的,播放器是最后一个版本。

在尝试了来自网络的多种修复后,此修复有效:

  1. 从“控制面板”>“卸载 Adob​​e Player”程序
  2. 打开 IE 并访问 youtube.com,单击任何电影,它会提示您安装 flash 播放器,安装播放器 - 不要忘记取消选中 bloatware ;)
  3. 重新打开 IE,确认是否安装了 flash,测试 swfupload,现在应该可以工作了...

Flash 播放器将安装在 chrome 上,但不会安装在 Firefox 上,因此您必须在其上再次安装播放器。进行相同的安装并且现在可以工作,这很奇怪,但我想从 IE 进行的安装一定有更多的魔力。

观察到的一个问题:如果没有签名证书,swfupload 将无法在 SSL 下工作,这是 swfupload 论坛上讨论的一个已知问题。

I also been having problem diagnosing this problem. Later occurrences of it have been on two 64bit windows 7 machines. The IO error appeared on all browsers, they were freshly installed, and the player was the last version.

After trying several fixes from the web, this one worked:

  1. Uninstall Adobe Player from Control panel > Programs
  2. Open IE and go to youtube.com, click any movie, it will prompt you to install flash player, install the player - don't forget to uncheck the bloatware ;)
  3. Reopen IE, confirm if flash is installed, test the swfupload, it should work now...

The flash player will be installed on chrome but not on Firefox, so you will have to install the player again on it. It is strange doing the same installation and now working, but i guess the installation from IE must have more mojo on it.

One issue observed: the swfupload will not work under SSL if there is no signed certificate, this is a known issue discussed on the swfupload forum.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文