|
@@ -62,7 +62,7 @@ public class LocalFileService extends AbstractFYunFileService {
|
|
|
try {
|
|
|
String optType = new File(filePath).isDirectory() ? "folder" : "file";
|
|
|
String command = String.format(fYunConstants.DOWNLOAD_SH, bucket, filePath, remoteFilePath, FYunTypeEnum.LOCAL.code(), optType);
|
|
|
- log.info("开始上传文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
|
|
|
+ log.info("开始下载文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
|
|
|
callshell(command);
|
|
|
} catch (Exception e) {
|
|
|
log.error("上传文件失败, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
|