经由HTTP和HTML所需的文件的上传低级别信息 [英] low level information needed for the uploading of the files via http and html

查看:116
本文介绍了经由HTTP和HTML所需的文件的上传低级别信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已通过http研究文件上传的处理。我的问题是,文件是如何通过AJAX,而不是通过整页回发上传。我想知道文件是如何通过AJAX传送。我读这个文章。文章提到说,这种方法是不可能的,如果FORMDATA不可用。但我想知道有没有就所有浏览器ajax的文件上传的工作,而无需使用iframe的方法电气特性的方法是什么?

I have been studying the process of the file uploading via http. My question is that how the file is upload via ajax and not through full page postbacks. I want to know how the file is transmitted via ajax. I read this article. The article mentioned says this method is not possible if the FormData is not available. But I want to know is there anyother method to make the ajax file upload work on all the browser without using iframe method?

推荐答案

没有 FORMDATA 你需要使用 IFRAME 。 Alternativly有其模拟使用隐藏的Flash或Silverlight的功能库。

without FormData you need to use iframe. Alternativly there are libraries which emulate the functionality using a hidden flash or silverlight.

这篇关于经由HTTP和HTML所需的文件的上传低级别信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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