陈昶聿
9 天以前 dbdd6dd8934575741a4816cf3af3493b014d3305
smartor/src/main/java/com/smartor/common/FtpService.java
@@ -103,7 +103,7 @@
                try (FileOutputStream fos = new FileOutputStream(localFile)) {
                    channelSftp.get(remoteFilePath, fos);
                    log.error("文件下载成功:{}", remoteFilePath);
                    log.info("文件下载成功:{}", remoteFilePath);
                } catch (Exception e) {
                    System.err.println("文件下载失败: " + remoteFilePath);
                    e.printStackTrace();