Skip to main content

Upload Files

DronaHQ File Storage provides a convenient way to manage file uploads within your applications, enabling interaction with Amazon S3 buckets. There is a dedicated query in the File Storage library of UploadFile to configure the file upload functionality in DronaHQ.

Uploading Files with DronaHQ File Storage

DronaHQ File Storage provides a convenient way to manage file uploads within your applications, enabling seamless interaction with Amazon S3 buckets. Follow the steps below to configure the file upload functionality using the UploadFiles feature in DronaHQ.

Structuring the Query

This query, requires a destination and location of uploaded file to work. This is quite simple, start by providing a name and opt the option when the query should run. Then configure the details

UploadFile Query
UploadFile Query

Configuration Details

ParameterDescription
FolderSpecify the folder path within your S3 bucket where the uploaded files will be stored.
KeyProvide the file name or file names for upload. Use placeholders to dynamically set the file path based on user-specific data.
FilesSelect your file control for this field. Enable multi-file upload by using the appropriate control.
ContentTypeOptionally specify the content type of the files being uploaded. If left blank, it will be automatically detected based on the file's extension.

You can follow the steps to implement UploadFile query in your app.