diff --git a/plugin.xml b/plugin.xml
index c9fd10e..ba059a1 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -5,12 +5,13 @@
com.fanruan.fs
yes
no
- 1.2.5
+ 1.2.6
10.0
2021-03-11
richie
[2021-01-28]修复备份还原S3报警告问题。
[2021-01-24]修复定时调度结果文件预览失败。
[2021-01-20]正式作为官方插件维护。
diff --git a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java
index f754762..7c23b43 100644
--- a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java
+++ b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java
@@ -308,6 +308,12 @@ public class S3ResourceRepository extends BaseResourceRepository {
return false;
}
+ @Override
+ protected boolean internalCopy(String origPath, String desPath) {
+ s3.copyObject(bucket, origPath, bucket, desPath);
+ return exist(desPath);
+ }
+
@Override
public void shutDown() {
s3.shutdown();