TScSFTPSetRemoteFileAttributesEvent = procedure(Sender: TObject; const LocalFileName, RemoteFileName: string; Attrs: TScSFTPFileAttributes) of object;


property OnSetRemoteFileAttributes: TScSFTPSetRemoteFileAttributesEvent;



The OnSetRemoteFileAttributes event occurs when copying a file from local machine to remote during the UploadFile method call. On processing this event you can set the attributes for the remote file using the Attrs object.



Sender - the object that raised the event.
LocalFileName - the path to the file that is being copied on the local machine.
RemoteFileName - the path on the server where the file will be copied.
Attrs - the object where the attributes of the file on the server should be specified (the attributes of the local file may be used).


See Also


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