liusheng
3 天以前 1fb7fc160753c4283f7b84c14f931d87b6c922e4
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();