Search

Download File

Last Updated: Feb 14, 2022

Articles

Use this function to download file from Dropbox.

Syntax

Download File (access_token, dropbox_path, file_path)

Parameters

Input Parameter Name Description
access_token Access token of Dropbox
dropbox_path Path from where the file needs to be deleted
file_path Path to where the file needs to be downloaded to

To know more about access_token, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | File downloaded successfully
  • On Failure returns 0 | Error Message

Sample

Download File (ABCDCEF, /Invoice/TravelInvoice.pdf, C:\Invoices)

  • Uses the access token ABCDCEF to connect to the Dropbox account, downloads the file /Invoice/TravelInvoice.pdf to C:\Invoices.
    Returns File downloaded successfully on downloading the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?