Rename a file or folder

sftpRename(sftpConnection, oldRemoteFilename, newRemoteFilename)

Arguments

sftpConnection

An SftpConnection object as created by the sftpConnect function.

oldRemoteFilename

The file on the server to rename.

newRemoteFilename

The new file name.