diff --git a/scagent/core/FileRpc.go b/scagent/core/FileRpc.go index c60a6ab..7bd14f6 100644 --- a/scagent/core/FileRpc.go +++ b/scagent/core/FileRpc.go @@ -113,7 +113,7 @@ func clientUploadFile(remote string, filePath string, uploadPath string) { } // 传输文件 -func transferFile(client *UpFileClient, filePath string, uploadPath string) error { +func transferFile(c *UpFileClient, filePath string, uploadPath string) error { // 发送文件信息 fmt.Printf("TransferFile filePath: %s, uploadPath: %s\n", filePath, uploadPath)