|
|
|
@ -160,6 +160,7 @@ func transferFile(c *UpFileClient, curPath string, uploadPath string) error { |
|
|
|
fmt.Println("\n文件发送完成!") |
|
|
|
// 文件解压缩
|
|
|
|
distFullName := filepath.Join(dirPath, fileName) |
|
|
|
fmt.Printf("distFullName: %s\n", distFullName) |
|
|
|
// 此时调用远程的完整路径,防止解压缩不成功
|
|
|
|
c.rpcClient.Call("UpFileService.UnzipArchive", FileInfo{ |
|
|
|
FileName: distFullName, |
|
|
|
|