Administrator
2021-09-18 3b1e22dc8460daafc2ecbae478ddcbe5ea21b944
src/main/java/org/springblade/modules/FTP/monitor.java
@@ -53,7 +53,6 @@
         // 设置编码格式
         ftp.setControlEncoding("GBK");
         // 提取绝对地址的目录以及文件名
         //ftpPath = ftpPath.replace("ftp://" + ftpHost + ":" + ftpPort + "/", "");
@@ -73,7 +72,6 @@
            return false;
         } else {
            for (FTPFile file : files) {
               System.out.println("文件:"+file);
               String fileName = file.getName();
               InputStream is = ftp.retrieveFileStream(new String(fileName.getBytes("GBK"), FTP.DEFAULT_CONTROL_ENCODING));
               if (null == is) {
@@ -168,7 +166,6 @@
      } catch (Exception e) {
         e.printStackTrace();
      } finally {