procedure DefaultRenameFile(SFTPSessionInfo: TScSFTPSessionInfo; const OldName, NewName: string; const Flags: TScSFTPRenameFlags; var Error: TScSFTPError); virtual;
Description
Call the DefaultRenameFile method to rename file or directory.
Parameters:
• | SFTPSessionInfo - contains the information about the current SFTP session. |
• | OldName - the name of an existing file or directory. |
• | NewName - the new name for the file or directory. |
• | Flags - the renaming parameters. |
• | Error - returns the information about an error that can arise when renaming a file. |
See also