陈昶聿
6 天以前 a86bfd0bdad90f87c0c3b1b0ce9d2db91841a6d2
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();