Discuss this help topic in SecureBlackbox Forum
TElSimpleFTPSClient.OnFileNameChangeNeeded
This event is fired when a file needs to be renamed.
Declaration
Parameters
Description
This event is fired by TElSimpleFTPSClient from DownloadFiles and UploadFiles methods when the component has encountered a file with the same name aither locally or on the server side. Depending on the file transfer mode, one of the files needs to be renamed. The handler should provide new file name via the corresponding parameter; when an empty string is passed, the operation is cancelled.