‘OPTS UTF8 ON‘: command not understood
背景go 操作 ftp , 使用 github.com/jlaffaye/ftp这个库问题复现登录时报错,错误如题解决方案添加参数,禁用 utf8ftp.Dial("ftp.example.com:21", ftp.DialWithTimeout(5*time.Second), ftp.DialWithDisabledUTF8(true))原因ftp Server 不支持 utf-8 编码, 泪目__EOF__本文作者:寒菱 本文链接:https://www.cnblogs.co.
原创
2021-05-28 23:20:55 ·
1306 阅读 ·
0 评论