Download file
Description
Downloads a file from the input Url and saves it as the input file name and outputs the file's location
Input Ports
Name | dataType | sourceType | required | description |
---|---|---|---|---|
URL | text | link-manual | true | The URL to the downloadable file |
File name | text | link-manual | true | The file name that should be given to the file that is being downloaded |
Scenarios
- The user wants to download a file from an remote location
Use case
Inputs
- URL:
https://www.w3schools.com/images/myw3schoolsimage.jpg
- File name:
downloaded
Experienced tips
- If you do not specify an
URL
, the process will stop and provide you with the following error.TypeError: Cannot read property 'indexOf' of null
- If the
URL
could not be found, the process will stop and provide you with the following error.Error: Response status was 404
- If you do not specify a
File name
, the process will save the file with its original name
Search Tags
Download file remotely