Closed svella closed 5 years ago
On second thought, given that S3 doesn't actually support rename, the right solution is to not implement doRename() but rather override canRenameTo() to always return false. Then the default moveTo will do copyFrom and deleteSelf().
Note that moveTo still won't work correctly for folders because of https://issues.apache.org/jira/browse/VFS-481
S3FileObject.doRename() calls copyObject but doesn't bother deleting the original.