mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: MacCloud/S3: step-130: support move/rename file
This commit is contained in:
parent
f7cd7a12d2
commit
3ff7b289fc
1 changed files with 5 additions and 3 deletions
|
|
@ -560,11 +560,13 @@ end;
|
|||
|
||||
procedure TS3CopyMoveSession.copyOrMove(const needToMove: Boolean);
|
||||
begin
|
||||
if needToMove then
|
||||
raise ENotSupportedException.Create( 'Move / Rename not supported' );
|
||||
if _isFolder then
|
||||
raise ENotSupportedException.Create( 'Copy Folder not supported' );
|
||||
raise ENotSupportedException.Create( 'Rename Folder not supported' );
|
||||
|
||||
self.doCopyFile;
|
||||
|
||||
if needToMove then
|
||||
_authSession.cloudDriver.delete( _fromPath, False );
|
||||
end;
|
||||
|
||||
{ TS3PathParser }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue