diff --git a/cmd.go b/cmd.go index 3714303..b97654b 100644 --- a/cmd.go +++ b/cmd.go @@ -1024,7 +1024,7 @@ func (cmd commandStor) Execute(conn *Conn, param string) { msg := "OK, received " + strconv.Itoa(int(bytes)) + " bytes" conn.writeMessage(226, msg) } else { - conn.writeMessage(450, fmt.Sprintln("error during transfer:", err)) + conn.writeMessage(553, fmt.Sprintln("error during transfer:", err)) } }