修复小文件上传问题
This commit is contained in:
@@ -7876,7 +7876,11 @@ bool SendFileWebAuto(const std::string& id,
|
||||
<< " -> use default upload URL (cloud path=" << file_cloudpath << ")\n";
|
||||
|
||||
// 实际上传调用
|
||||
SendFileWeb(WEB_FILEUPLOAD, local_path, file_cloudpath, out_filename,2);
|
||||
if (!SendFileWeb(WEB_FILEUPLOAD, local_path, file_cloudpath, out_filename,2)) {
|
||||
std::cerr << "[SendFileWebAuto][ERROR] File upload failed: "
|
||||
<< local_path << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
std::cout << "[SendFileWebAuto] File upload complete: " << out_filename << std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user