Search

Download File

Last Updated: Sep 13, 2021

Articles

Use this function to download a file from the given URL.

Syntax

Download File (url, extension)

Parameters

Input Parameter Name Description
url URL to download the file from
extension Extension to save the file as

Returns

Return value Description
Path Returns the location of the downloaded file

Sample

Download File (https:/ /drive.google.com/drive/folders/Invoices/Travel_Invoice.pdf, .pdf)

  • Downloads the file Travel_Invoice.pdf from the URL https:/ /drive.google.com/drive/folders/Invoices/Travel_Invoice.pdf and saves it as PDF file.
    Returns the file path of the downloded file as C:\Users\user1\jiffy\UIExecutions\run\Exec82680\data\Invoice.pdf.

To view all the File functions, click here.

Did you find what you were looking for?