首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式Linux下基于CGI的文件上传下载的实现
引用本文:孟伟君,周利华.嵌入式Linux下基于CGI的文件上传下载的实现[J].微机发展,2006,16(5):226-228.
作者姓名:孟伟君  周利华
作者单位:西安电子科技大学多媒体技术研究所 陕西西安710071
摘    要:随着嵌入式Linux的深入研究,在此平台上的应用也越来越广泛。针对在资源有限的嵌入式系统中如何有效地实现动态Web内容,文中提出了一种解决方案。讨论了在嵌入式Linux系统下,采用ACME的thttpd作Web服务器,用C语言进行CGI程序设计的原理和方法。应用此方法并以文件的上传和下载为例给出了具体实现,用POST方法实现了文件上传,用GET方法实现了文件下载。测试结果表明该方案的正确性和有效性,最后分析了在进一步应用中需要解决的问题。

关 键 词:嵌入式Linux  CGI  上传  下载
文章编号:1673-629X(2006)05-0226-03
修稿时间:2005年8月15日

Implementation of File Upload and Download Based on CGI Under Embedded Linux
MENG Wei-jun,ZHOU Li-hua.Implementation of File Upload and Download Based on CGI Under Embedded Linux[J].Microcomputer Development,2006,16(5):226-228.
Authors:MENG Wei-jun  ZHOU Li-hua
Abstract:The research on embedded Linux is deeper;the application on it is wider.Presents a solution about how to realize dynamic Web contents under embedded Linux system which has limited resources.The CGI program design principles and methods using C language as a tool and ACME thttpd as Web server are discussed.As an example,the application of file upload and download are also demonstrated in this paper.The test results show this solution is correct and effective.At last,some problems that should be solved in further application are analyzed.
Keywords:embedded Linux  CGI  upload  download  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号