Skip to main content

TdxCloudStorage.OnItemUploading Event

Enables you to perform specific actions in response to uploading a local file to the connected online storage’s server.

Declaration

property OnItemUploading: TItemUploadingEvent read; write;

Remarks

The OnItemUploading and OnItemUploaded events occur at the start and successful finish of a file upload process, respectively. If an attempt to upload a local file to the server results in an error, the OnError event occurs after OnItemUploading. Call a cloud folder metadata container‘s UploadFile procedure to start uploading a file into the corresponding folder on the connected online storage’s server.

You can handle this event to display the currently uploaded file’s name and size in your application’s UI. Refer to the TItemUploadingEvent nested type description for details on all parameters accessible within an OnItemUploading event handler.

Note

Handle the OnItemUpload event to track the progress of the active file upload process.

See Also