Skip to main content

TdxCloudStorageFile.DownloadContent Method

Downloads the stored file’s content.

Declaration

procedure DownloadContent;

Remarks

Call this procedure to initiate the file download process from the connected online storage service’s server, which automatically raises the corresponding cloud storage component’s OnItemDownloading event. If the download process results in an error, the component’s OnError event occurs; otherwise, the DownloadContent procedure raises the OnItemDownloaded event that you need to handle to be able to obtain the downloaded file content within the returned data stream.

Note

Handle the cloud storage’s OnItemDownload event to track the file download progress.

See Also