| | |
| | | #include <iomanip> |
| | | #include <sstream> |
| | | #include "struct_data.h" |
| | | #define BUF_MAX_SIZE (8 * 1024) |
| | | #define FILE_PATH "./" |
| | | #define BUF_MAX_SIZE (8 * 1024) // åºå®å
大å°8k |
| | | #define FILE_PATH "./" // åä»£ç æå¥½ä¿®æ¹ |
| | | class SaveFile |
| | | { |
| | | public: |
| | | SaveFile(); |
| | | ~SaveFile(); |
| | | /* |
| | | if(Head->type == UPLOAD_REQ) å°±è¿æ¥è°ç¨fileop()彿°å°±å¯ä»¥äº,å
¶ä»å½æ°ä¸ç¨è°ã |
| | | */ |
| | | int fileop(char* str, int len); |
| | | |
| | | private: |
| | | int fileHead(char* str, int len); |
| | | int fileData(char* str, int len); |
| | | int fileFin(char* str, int len); |