#pragma once #include #include #include #include #include #include "tc_log.h" using namespace std; struct HeaderData { std::string value; bool found; // ¼Ç¼ÊÇ·ñÕÒµ½ }; int sendFileByFtp(string ftp_url, string file_path, string file_dir, string user, string pwd); string postJSON(string url, string token, vector header, string body, long& http_code, string& error); string postJSON(string url, string body, long& http_code, string& error); bool UploadToFTPWithDebug(); void CheckCurlFeatures();