# HttpFileServer
Simple http file server.</br>
1.Support upload and download file.</br>
# Usage
1.upload cgi</br>
http://127.0.0.1:9875/upload.cgi</br>
Example: https://github.com/KingsleyYau/HttpFileServer/tree/master/upload_file.html</br>
Respone: json</br>
{"ret":1:成功,0:失败,"data":{"filepath":"文件相对路径"}}</br>
2.donwload cgi</br>
http://127.0.0.1:9875/download.cgi?filepath=相对路径</br>
Respone: file stream</br>
# Compile and run
1 chmod +x configure</br>
2 ./configure</br>
3 make clean && make all</br>
4 httpfileserver -f httpfileserver.config</br>
没有合适的资源?快使用搜索试试~ 我知道了~
用C++实现的HTTP文件服务器
需积分: 5 0 下载量 23 浏览量
2024-09-23
14:10:27
上传
评论
收藏 40.17MB GZ 举报
温馨提示
类似apache实现的功能,用C++语言实现的,可通过交叉编译在其他平台运行,可传输大文件,并发传输,apaceh搭建不好,可以用这个代码来替代
资源推荐
资源详情
资源评论
收起资源包目录
用C++实现的HTTP文件服务器 (187个子文件)
03640bb948439edf7010c68280f7c992ba7154 646B
066bb0e2bbc8439ff8731ca49c79173f4096fc 966B
09460b08661db607158c97f96c46236c8707b7 446B
1506b5187d7d684ac8b88663eee47b865774c5 684B
1687db77d22e24b1843f069862a25ca648ae61 486B
1967e62e45bde7f719110e40b9bbb34b6754c4 4KB
1da14e167407f5dd07ff38661f1937c5ad32df 685B
1fb76ed2e8b63144254411a17f94df6a2181d3 633B
21c9d56123f5716c2f9e9e5fcacb78676f5f77 685B
220a99c4d7a47887bbd8fd4b6397ba781d1b63 250B
222a5ac0739e8b89f011e58d9da033c55ce516 4KB
2831ade08c211e63cce90436b4ddbce15105cd 473B
2cb5060dfb1f1d2ce73fdf4ad53ca4daf47f28 2KB
3114eb1c5dfa1a4a87e4636f09f5696782078d 1017B
31686e94cfcbba5a8530fb82605444f14a0a54 204B
34b463644ed85c94cb15dab54e3beea52f0604 171B
37ecd77bcfdebc4b79451e90f19e4593719942 492B
38e19d9f41728d1eb49e3c9555c39448fd7dcf 255B
39b76117ab010f43c3ad21fdcc632b609dd4fd 173B
3c58f38e1a0734b3c0ead7add2b4d4ec0702b4 924B
3c976c7fa179c7ac4c09e3294e291ab20be122 461B
3e602071749eed1134ab9d3ff1604ba8291146 684B
3e8d52bd14d2f5c1a8a43272a1f1b1764a82d5 651B
40e8893d3b03224cc19637b2b6f853dfdc1166 685B
41c74453e542bac12d12696858be4d9d0e0a26 242B
42b03f64949c9f078d4d6780be7fcae5d1e0ff 183B
46fa057ebfac36071b4aae8483a601b4a6d02e 253B
4741b5e95d83880268a08043d2853cd6a2d988 174B
48715bf84be0eb55f2cc6e73f7d2ac76e29bf4 1KB
4a78fcfa1c1d128b87b7ca9bfdd94482525977 697B
526a44ccb52e123ff22bc3e3b67a8afaf99dbd 184B
5507c37fd194ef2a2f8c99069161ccadefdb2f 190B
595c5663ab25bc8a0b6968eebbaf63ac05944a 505B
5aa30131bcc5600a2fda4e0ab1c4a611c18eec 487B
5b707ac693417b5e06c00fe0c408e2aeaab047 507B
5e239528128394bae5a1c9b3eeb58e9325b1c1 772B
61382484575498bd172a06bcb2bdabe933a970 645B
66c94f109a267d64013a80fd48f131febb23a7 168B
6744200d1dd4496875776ecddccf5a6df455b1 661B
6bb05667b3b2e3f44b270dfe51b2b7e797a660 646B
6e87e51984d2e8976fc3e2970a46211e98f826 318B
6ff89e3f2cde17aff030e53748e946a5a54738 575B
70e568c43c7c328bfb6717a7895e817430ddc4 627B
71360f9f9749d4d2d8561c1f95501664e21988 524B
751d13aac5f3b869e7c8a7fb9c0100fd2eee4f 684B
7aaef5e5332818800caf7e693b85143d7b6d16 2KB
7dee75a8f27aaf09756b1cb275f9d3d69d7873 494B
7f594a3259b8f3179d9ed317a60f12d0c7c423 187B
83c2ebf2d4504a8b414d6130dcc094262ece99 678B
8a0ba582548fab11c530851fbb1194a9d08569 182B
8c0a6a3a1b72fc9ce580a0b3ef017c98c3ccf5 194B
8d9d1a9cd407d2cfe699dfe63c085038a3b006 497B
92dad52dbe8183c5be8197c09b7a485397be07 685B
939aa550e01a09dc7edababecf1624a618a7c8 187B
967bc4d8d25c6c9271cc67fece252709692584 172B
983c16dd2be7145e83baa05b63f0b0236c832c 5KB
9846272bd13b59b8121d1f6aee7dceaacd2cdf 195B
99a14d978d014f7a54f67dc8baa145ba955b4c 192B
9ce2941c86e8d8f02e0b76082089c52889a2cd 406B
9d3d45eba4cbc6d52bfc5045481b2dcfd654ca 765B
9de97cb5f412f08754c8d75a1c3258a6785d74 439B
a2b9c7d79d5ffcac7bb077c99ea68f67e593cb 854B
a4b5b80e10397d3d195c0cd0e5e96a57048e2b 3KB
ad76fba4239cd33b4d6f9b71b0df981e48a4aa 159B
b0cabc87cf50106df6e15097dff816c8c3eb34 188B
b15cc5e0ef7490f210a9e7f5f289b765e75df9 90B
b47fd64f21187a20605ff97cacf49e3885d040 475B
b80a27c47a6436afd73a6592aa18c5b4ae3dc3 3KB
b9268bf04466a7d6586de432e991be661fd90e 590B
bd022abbc3dc78c7b10cf4bc678022b688228d 867B
bd5ca1f53f78c4c395e75e4ef32805dfa0ffd9 333B
ODTU_BOOT_RAMINIT.BIN 14.61MB
md5.c 9KB
c14b6ee2bb454436a525fee85478975fa6b36d 172B
c292b1cc3de413ef99f9a9bfa07956da9684ed 865B
c4d2dd6fc12418428897c28edbe4be724b5d54 197B
c67c1e6df598bba92322f2892593aed55235d0 402B
c9c8a5027738762d2843110db567cbf93a5701 417B
ce67cdc646793bf87fb9d2325174ba5820f384 3KB
upload.cgi 2KB
download.cgi 696B
config 274B
httpfileserver.config 194B
Arithmetic.cpp 14KB
HttpFileServer.cpp 13KB
ConfFile.cpp 8KB
LogFile.cpp 8KB
LogManager.cpp 6KB
DataHttpParser.cpp 2KB
KThread.cpp 1KB
server.cpp 1KB
MessageList.cpp 1KB
DataParser.cpp 468B
d05037fdca0e48ddf8055e72777220ef29a181 441B
d195c4e75b86f4556c4a6bde2a6a9a0101638e 363B
d330b2b6b0150420e302e24702d7d4cf2813b0 3KB
d4d3bb380465dbf2278b23328b474f5dd08d59 538B
d6186e0ec9a29323e1d5ae37713a545097164b 208B
d9aa84d63a1b5546c5dcfcdce3dafd1b592e78 866B
da20114be15d4ff63187e2413dd8ecae33bcec 597B
共 187 条
- 1
- 2
资源评论
Dreamweaver515
- 粉丝: 0
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功