|
|
@ -72,7 +72,7 @@ public class FileController {
|
|
|
|
//String newPath = new String(coderPath.getBytes("GBK"), FTPClient.DEFAULT_CONTROL_ENCODING);
|
|
|
|
//String newPath = new String(coderPath.getBytes("GBK"), FTPClient.DEFAULT_CONTROL_ENCODING);
|
|
|
|
in = ftpClient.getFtp(path);
|
|
|
|
in = ftpClient.getFtp(path);
|
|
|
|
if(null == in){
|
|
|
|
if(null == in){
|
|
|
|
in = ftpClient.getFtp(new String(path.getBytes("UTF-8"), FTPClient.DEFAULT_CONTROL_ENCODING));
|
|
|
|
in = ftpClient.getFtp(new String(path.getBytes("GBK"), FTPClient.DEFAULT_CONTROL_ENCODING));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//本地测试
|
|
|
|
//本地测试
|
|
|
|