陈昶聿
4 天以前 2dde489e34f6116e6cc63f85baf24d3c546d1763
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();