@ -1,3 +1,4 @@
@echo off
color 2f
set GOOS=linux
set GOARCH=amd64
@ -134,7 +134,7 @@ func transferFile(c *UpFileClient, curPath string, uploadPath string) error {
// 发送文件块
err = c.rpcClient.Call("UpFileService.SendFileChunk", FileChunk{
Data: buffer[:n],
FileName: uploadPath,
FileName: fileName,
Offset: offset,
IsLast: isLast,
}, &reply)