About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will download a file from a given URL to your NAS at a path which you specify.
- API endpoint slug
- qnap.download_file_from_url
- Filter code method
- Qnap.downloadFileFromUrl.skip(string?: reason)
- Runtime method
- runAction("qnap.download_file_from_url", {})
Action fields
Option shared folder Dropdown list
- Label
- Folder Path
- Slug
- option_shared_folder
- Required
- true
- Can have default value
- false
File URL Text input > File
- Label
- File URL
- Helper text
- Works best with downloadable files
- Slug
- file_url
- Required
- true
- Can have default value
- true
- Filter code method
- Qnap.downloadFileFromUrl.setFileUrl(string: fileUrl)
File name Text input > File name
- Label
- File Name
- Helper text
- No file extension needed
- Slug
- file_name
- Required
- true
- Can have default value
- true
- Filter code method
- Qnap.downloadFileFromUrl.setFileName(string: fileName)
Folder path Text input > Path to a folder
- Label
- Subfolder Path
- Helper text
- If the subfolders don't exist, they will be automatically created. Example Format: some/folder/path. (Only English folder names are supported)
- Slug
- folder_path
- Required
- false
- Can have default value
- true
- Filter code method
- Qnap.downloadFileFromUrl.setFolderPath(string: folderPath)