Docs Menu
API Developer Guide / middleware / pub / client / sftp / commands / rename

Service: rename

This service is used to rename an existing file or directory.

Input Parameters:

Name Type Description
sftpClient: Object SFTP Client
absoluteFilePath: String The absolute path of the file or folder
newAbsoluteFilePath: String New Absolute path of file or folder

Output Parameter:

Name Type Description
status: String Status of Operation
error: String Error Message