Module: downloadFile

This module downloads a file from a given URL and saves it to a specified path on the local file system.
Parameters:
Name Type Description
downloadUrl string The URL of the file to download.
fullPath string The full path of the file to write to.
Source:
Throws:
An error if the file cannot be downloaded.
Type
Error
Returns:
A Promise that resolves when the file is downloaded and written successfully.
Type
Promise.<void>