Description: When executing a executeRenameCmd() in a SSHFTP script, the script aborts. Symptoms: The following is seen in the InteriorServer log file:
Rename command for file : <filename. - Copy.txt failed with reply message : SSH Exception: Unexpected Signal from Peer: SSH_FX_FAILURE Tunnel:
Cause: The new file name already exists on the target file system.
Resolution
Use executeListCmd() with the new file name as the parameter and check for the existence of the file name prior to renaming the file.