Upload Service

This module allows you to upload files to the cloud that can later be accessed through their respective URLs.

UploadFile

You can save binary data (Files) like audio/video/images/txt etc in App42 cloud using Upload File. Whenever your app file is uploaded it is stored in our CDN network and can be accessed by its unique http end point url.

All uploaded diles can be viewed inside AppHQ console under Technical Service > Upload Service option.

AFileName : string; 
AContentType : string; 
AFile : TBackendEntityValue; 
BackendFiles.Files.UploadFile(AFileName, AContentType, AFile); 

DeleteFile

Remove your uploaded file from Data base.

AFile : TBackendEntityValue; 
BackendFiles.Files.DeleteFile(AFile);