Merge pull request #18 from SoCloz/master
Allow multi-line 226 responses to STOR commands - fixes #17
This commit is contained in:
commit
fec71e62e4
2
ftp.go
2
ftp.go
@ -417,7 +417,7 @@ func (c *ServerConn) Stor(path string, r io.Reader) error {
|
||||
return err
|
||||
}
|
||||
|
||||
_, _, err = c.conn.ReadCodeLine(StatusClosingDataConnection)
|
||||
_, _, err = c.conn.ReadResponse(StatusClosingDataConnection)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user