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

TdxCloudStorageFolder.UploadFile(string) Method

Uploads a locally stored file to the cloud folder.

#Declaration

Delphi
procedure UploadFile(const AFileName: string);

#Parameters

Name Type
AFileName string

#Remarks

Call this procedure to start uploading a file whose full local path is passed as the AFileName parameter to the current folder. The cloud storage component raises the OnItemUploading event in response to an UploadFile procedure call. If the file upload process succeeds, the OnItemUploaded event occurs, and you can access a new resource via the Children.Items property; otherwise, the OnError event occurs.

Note

You can handle the cloud storage component’s OnItemUpload event to track the file upload progress.

See Also