Browse Source

FTP下载中文文件

dimples 5 years ago
parent
commit
2a89327d18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hutool-extra/src/main/java/cn/hutool/extra/ftp/Ftp.java

+ 1 - 1
hutool-extra/src/main/java/cn/hutool/extra/ftp/Ftp.java

@@ -84,7 +84,7 @@ public class Ftp extends AbstractFtp {
 	 * @param charset  编码
 	 * @param charset  编码
 	 */
 	 */
 	public Ftp(String host, int port, String user, String password, Charset charset) {
 	public Ftp(String host, int port, String user, String password, Charset charset) {
-		this(host, port, user, password, charset,null, null, null);
+		this(host, port, user, password, charset,null, null);
 	}
 	}
 
 
 	/**
 	/**