Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorage.OnItemUpload Event

In This Article

Enables you to track the file upload progress.

#Declaration

Delphi
property OnItemUpload: TItemUploadEvent read; write;

#Remarks

The file upload speed depends on the file size and network connection quality. Your application cannot copy a local file to a remote server instantly, and this process can take a noticeable amount of time in the case of a large file. You can handle the OnItemUpload event to track the file upload progress and, optionally, visualize it as a number of bytes and/or percentage/progress bar.

This event occurs at the start and end of a file upload process, and every time the file upload routine successfully copies a 64-kilobyte block (that is, a file chunk) to the connected online storage’s server. Refer to the TItemUploadEvent nested procedural type description that includes details on all parameters within an OnItemUpload event handler.

Note

Handle the OnItemUploading and OnItemUploaded events to perform specific actions on the start and successful finish of an upload process. To obtain information on any file upload errors, handle the OnError event.

See Also