Upload, Download and Delete Files with Big File Upload Element
File Upload
The Big File Upload element allows easy uploading of files by drag-and-drop. Users can drag and drop files directly onto the component and the file will be automatically copied to the directory you specify.
For security reasons, the file name is stored as GUID (global unique identifier).
When the upload process is complete, the On Upload Finish action is automatically triggered. At this stage, you can save the information of the uploaded file. The Component returns information about the uploaded file, such as the File ID (the GUID of the file) and the File Name (the file name). The File ID and File Name data are used for later management and processing of files.
File Download
Click on the Big File Upload element.
While in the “UI Design” module, open the “Properties” panel on the right side.
Select “On Upload Finish → Device → Download File From Server” from the “+ADD ACTION” drop-down menu.
Configure the following fields from the drop-down menu:
File Path: Specifies the path to the directory where the file is located on the server and allows you to describe exactly where the file is stored.
File ID: This is the field where you will enter the unique ID number that allows the file to be downloaded to be identified on the server.
File Deletion
Click on the Big File Upload element.
While in the “UI Design” module, open the “Properties” panel on the right side.
Select “On Upload Finish → Device → Delete File From Server” from the “+ADD ACTION” drop-down menu.
Configure the following fields from the drop-down menu:
File Path: Specifies the path to the directory where the file to be deleted from the server is located. Indicates in which directory the file is located.
File ID: The unique ID number of the file to be deleted on the server.