Discuss this help topic in SecureBlackbox Forum
SFTP: Rename file or directory
The file, directory or symlink can be renamed or moved to other directory using RenameFile() method of TElSimpleSFTPClient class. This method takes the absolute path to the directory (SFTP doesn't have a concept of "current directory") for both old and new names.
The method is synchronous and returns when the data is sent.
For information about error handling, see the corresponding how-to article.