服务端主要就是用的nginx-upload-module和nginx-fancyindex两个nginx模块做接收,然后python后端做处理
然后客户端的编写分为两部分,一部分是python客户端,用的requests库,另一部分是web客户端,用的是Huploadify框架
结果大致如下:
大致画一下前后端结构
client.py --> nginx-upload-module(temp) -->python module
nginx-upload-page --> nginx-upload-module(temp) ---> python module
详情比较简单,不细述.
源代码git地址:
https://github.com/calmkart/nginx_upload
https://github.com/calmkart/nginx_upload_page