diff --git a/scagent/core/UpFile.go b/scagent/core/UpFile.go index f6fa98e..ae0a3b6 100644 --- a/scagent/core/UpFile.go +++ b/scagent/core/UpFile.go @@ -1,7 +1,6 @@ package core import ( - "fmt" "io" "os" "path/filepath" @@ -60,7 +59,7 @@ func (f *UpFileService) SendFileInfo(info FileInfo, reply *string) error { // SendFileChunk 接收文件块并写入文件 func (f *UpFileService) SendFileChunk(chunk FileChunk, reply *bool) error { // filePath := filepath.Join("received_files", chunk.FileName) - fmt.Printf("recive file :%s", chunk.FileName) + // fmt.Printf("recive file :%s", chunk.FileName) // 合并为实际路径 // filePath := filepath.Join("received_files", chunk.FileName) filePath := chunk.FileName