引用本文
  • 黄景文.基于HTTP协议和数据库的文件上传方法[J].广西科学院学报,2005,(3):186-188.    [点击复制]
  • Huang Jingwen.Method of Uploading Files Based on Database and HTTP Protocol[J].Journal of Guangxi Academy of Sciences,2005,(3):186-188.   [点击复制]
【打印本页】 【在线阅读全文】【下载PDF全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 342次   下载 318 本文二维码信息
码上扫一扫!
基于HTTP协议和数据库的文件上传方法
黄景文
0
(广西大学信息网络中心, 广西南宁 530004)
摘要:
提出一种基于HTTP协议和数据库的文件上传方法,给出相应的实现算法。该方法通过表单提交文件信息,从多域数据流析取文件内容,并以二进制方式存入数据库的BLOB字段,从而实现文件上传。该方法具有结构化信息和非结构化信息同步上传、长文本和带格式文本可以以文件形式上传到数据库、维护难度低、扩展和移植方便等特点。
关键词:  文件  数据库  HTTP协议  上传  多域数据流  析取
DOI:
投稿时间:2004-12-21
基金项目:国家计委西部大学网络工程项目(计投资20012437)资助。
Method of Uploading Files Based on Database and HTTP Protocol
Huang Jingwen
(Information & Network Center, Guangxi University, Nanning, Guangxi, 530004, China)
Abstract:
A method of uploading files based on database and HTTP protocol is developed. In this solution, the file information is sent in the browser side via filling of HTML form, and extracted from multipart stream in the server side, and stored as binary stream into the BLOB field of database.In this method, the structured information and unstructured information can be submitted synchronously,and large text and formatted text can be uploaded to database as a file.The data maintenance and transplant between different system platforms are easy.
Key words:  files  database  HTTP protocol  uploading  multipart stream  extract

用微信扫一扫

用微信扫一扫