TScSFTPRenameFlag = (rfOverwrite, rfAtomic, rfNative);
TScSFTPRenameFlags = set of TScSFTPRenameFlag;
The TScSFTPRenameFlag enumeration indicates behaviour on a file renaming.
|rfOverwrite||if this flag is not included, and a file with the specified name already exists, the SSH_FX_FILE_ALREADY_EXISTS error will be returned.|
|rfAtomic||if this flag is included, and the destination file already exists, it is replaced in an atomic fashion. I.e., there is no observable instance in time where the name does not refer either to the old or the new file. rfAtomic implies rfOverwrite.|
|rfNative||if this flag is included and there is not possible to replace the destination in an atomic fashion, then the SSH_FX_OP_UNSUPPORTED error will be returned.|