Skip to main content

TdxCloudStorageFolder.UploadFile(string) Method

Uploads a locally stored file to the cloud folder.

Declaration

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