Integration Server 10.11 | Built-In Services Reference Guide | Client Folder | Summary of Elements in this Folder | pub.client.sftp:rename
 
pub.client.sftp:rename
WmPublic. Renames a file or directory on a remote SFTP server.
Input Parameters
sessionKey
String Unique key for the current SFTP session. The sessionKey is returned by the pub.client.sftp:login service.
oldPath
String Fully qualified name of the file you want to rename (for example, temp/oldname.txt).
newPath
String New fully qualified name for the file (for example, temp/newname.txt).
Output Parameters
returnCode
String Standard SFTP protocol return code.
returnMsg
String Text message describing the return code.
Usage Notes
You cannot execute SFTP commands in parallel using the same session key.