procedure Rename(const OldPath, NewPath: string);

 

Description

Call the Rename method to rename the existing file specified in the OldPath parameter to the new NewPath name for the file system on the FTP server.

OldPath is used as an argument when sending the FTP 'RNFR' command.

NewPath is used as an argument when sending the FTP 'RNTO' command.

The response code received during execution of this command request is contained in the ReplyCode property.

 

See Also

Delete

 

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