使用hutool ftp上传文件在部分服务器下会报FTPConnectionClosedException: Connection closed without indication异常,原因是hutool封装的ftp没有默认设置ftp的模式 解决办法 在代码上手动设置ftp模式