Skip to content

Commit

Permalink
Merge pull request #345 from lmagyar/pr-fix-rename-on-virtual-folders
Browse files Browse the repository at this point in the history
Fix rename on virtual folders
  • Loading branch information
wolpi authored Jun 8, 2024
2 parents 0dcd097 + 428fd62 commit 750446f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public String getClientIp() {
@Override
public boolean move(FtpFile target) {
logger.trace("move()");
return delegate != null && ((FtpFile) delegate).move(target);
return delegate != null && ((FtpFile) delegate).move((FtpFile) ((VirtualFtpFile) target).delegate);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getClientIp() {
@Override
public boolean move(SshFile target) {
logger.trace("move()");
return delegate != null && ((SshFile) delegate).move(target);
return delegate != null && ((SshFile) delegate).move((SshFile) ((VirtualSshFile) target).delegate);
}

@Override
Expand Down

0 comments on commit 750446f

Please sign in to comment.