Merge pull request #190 from ncw/fix-pureftpd

Workaround pure-ftpd connections failing with "Unknown command"
This commit is contained in:
Julien Laffaye authored and GitHub committed 2020-07-20 15:47:10 -04:00
commit 13949d3891
1 file changed
+1 -1
+1 -1
View File
@@ -346,7 +346,7 @@ func (c *ServerConn) setUTF8() error {
}
// Workaround for FTP servers, that does not support this option.
if code == StatusBadArguments {
if code == StatusBadArguments || code == StatusNotImplementedParameter {
return nil
}