基于Iframe内联框架的异步文件上传与删除  

Asynchronous file upload based on Iframe technology

在线阅读下载全文

作  者:罗斌[1] 巴继东 

机构地区:[1]武汉邮电科学研究院,湖北武汉430065 [2]武汉长江通信智联技术有限公司,湖北武汉430065

出  处:《电子设计工程》2016年第12期43-47,共5页Electronic Design Engineering

摘  要:针对使用低版本浏览器的用户因安全策略导致无法上传文件的问题,采用一种基于Iframe的内联框架的解决方案能够实现异步文件上传、删除等功能。用这种方式上传图片、音视频等多媒体文件时,能在不跳转页面情况下看到所上传图片的预览。同时,文件相关信息通过Web服务器传递到后台数据库中,并通过内联框架子网页的服务端将文件以文件的形式存储到本地项目的指定目录下。根据需要,可查看和删除所选择的文件及相关信息。实际应用表明,该方案操作简便、能更好地解决文件上传、删除等问题。File uploads are not supported by some low versions browsers due to the security policy. A solution based on the Inline-Frame to upload, delete files asynchronously and with some other functions is presented in this article. The pictures,audio/video and some other multimedia files are uploaded by using the solution, with the ability to generate a proper preview of the selected file without refreshing page. In the meantime, the file information will be transferred into the backstage database by Web Service, the file can be stored in the form of file in the specified directory of local project through the server-side of Inline-Frame subpage. The selected file and its corresponding information can be viewed and/or deleted if necessary. The application result shows that the solution is effective to solve the problem of file uploading, deleting, and some other issues.

关 键 词:内联框架 文件上传 异步 子网页 

分 类 号:TN919[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象