Kuika's Upload File action allows you to upload files from your device to the server. With this action, files can be stored and managed in a centralized database.
By automating the file upload process, users can easily share and store important documents or data files on the server.
For example, when a user uploads a document or media file to your application, this action ensures that the file is correctly transferred to the server.
Upload File action is supported in web and mobile applications.
Saving Uploaded Files to the Server Local File Path
Uploaded files can be saved to a local path specified on the server side. This process ensures that the files are accessible not only in the database but also in the server file system.
How to do it?
After creating the Upload File action on the Kuika platform, the local file path where the file will be retrieved and saved is specified in the backend or server-side code.
The target directory of the file can be a previously created or dynamically determined folder on the server (for example: /uploads/documents/).
The file is written to this folder on the server; thus, both the physical copy of the file is stored and this file can be accessed from within the application if necessary.
It should be ensured that the necessary permissions (write permission) are open on the folder on the server.
Add Upload File Action
Log in to the Kuika platform.
Open the project you will work on from the Apps screen.
While in the UI Design module, open the Properties panel on the right side.
Select Initial Actions → Device → Upload File from the +ADD ACTION drop-down menu.