diff --git a/protocol.go b/protocol.go index 93ac7ed..6871c29 100644 --- a/protocol.go +++ b/protocol.go @@ -144,7 +144,7 @@ func ParseFileInfos(message string, fileInfos *FileInfos) error { return err } - size, err := strconv.Atoi(parts[1]) + size, err := strconv.ParseInt(parts[1], 10, 64) if err != nil { return err }