Resumable upload

I work with TMS FNC Cloud Pack and Microsoft Graph API.
I need to do resumable upload to a specific URL.

I have found the example below. But I can't find "TTMSFNCCloudFile", or "TMSFNCCloudStorageServices" as part of the documentation. Which package/unit are these functions included in, and where is the URL included in the call?

var
FCloudFile: TTMSFNCCloudFile;
begin
FCloudFile := TMSFNCCloudStorageServices1.CloudFiles.Add;
FCloudFile.FilePath := 'c:\uploads\example.zip';
TMSFNCCloudStorageServices1.UploadResumableFile(FCloudFile);
end;

Hi Brian,

  • Please note that TMSFNCCloudStorageServices is a wrapper class for all supported Cloud Storage services (including OneDrive) and is included in the FMX.TMSFNCCloudStorageServices unit.
    If you are only using OneDrive you can replace references to TMSFNCCloudStorageServices with TMSFNCCloudMicrosoftOneDrive.
    The TTMSFNCCloudFile class is available in all Cloud Storage service classes (i.e. TTMSFNCCloudMicrosoftOneDrive) and is included in the FMX.TMSFNCCloudStorage unit.

  • Please note that this feature is only capable of uploading files to one of the supported Cloud Storage services (i.e. OneDrive); it is not intended to upload files to specific URL.