TdxCloudStorage.OnFileContentUploading Event
Enables you to perform specific actions in response to updating an existing file stored on the connected online storage’s server.
Declaration
property OnFileContentUploading: TFileContentUploadingEvent read; write;
Remarks
The OnFileContentUploading and OnFileContentUploaded events occur at the start and successful finish of a file update process, respectively. If an attempt to update a stored file from the local source results in an error, the OnError event occurs after OnFileContentUploading. Call a stored file metadata container‘s UploadContent procedure to update the corresponding file from the source data stream.
You can handle this event to mark the visual representation of the currently updated file in your application’s UI, indicating the file’s status, and optionally, obtain the updated file’s total size (in bytes). Refer to the TFileContentUploadingEvent nested type description for details on all parameters accessible within an OnFileContentUploading event handler.
Note
Handle the OnFileContentUpload event to track the progress of the active file update process.