methodTstSFTPClient.Rename
procedure Rename(const aSourceFile, aDestFile : string; aFlags : tRenameFlags = []);
Renames or moves a remote file. aFlags requests optional semantics such as overwrite/atomic replacement where the negotiated protocol version supports them. Raises on failure.