From 9a62d18b47ce1f5bb34b5b2f531b9d362a9ae8ec Mon Sep 17 00:00:00 2001 From: Dan Goldsmith Date: Thu, 23 Apr 2015 14:02:53 +0100 Subject: [PATCH] Copy Paste Error / Typo Error Created in pasv() states EPSV rather than PASV --- ftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftp.go b/ftp.go index ed94755..2df0ee2 100644 --- a/ftp.go +++ b/ftp.go @@ -185,7 +185,7 @@ func (c *ServerConn) pasv() (port int, err error) { start := strings.Index(line, "(") end := strings.LastIndex(line, ")") if start == -1 || end == -1 { - err = errors.New("Invalid EPSV response format") + err = errors.New("Invalid PASV response format") return }