procedure RenameFile(const OldPath, NewPath: string; Flags: TScSFTPRenameFlags = []);



Call the RenameFile method to rename or move file or directory.

If the NonBlocking property is set to True, then control is returned at once and you can learn the result of the operation execution by handling the OnSuccess and OnError events.



OldPath - the name of an existing file or directory.
NewPath - the new name for the file or directory.
Flags - the renaming parameters. This parameter is supported only since the version 5 of the SFTP protocol.


See Also




SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support