Search

Download File

Last Updated: Nov 4, 2020

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

Returns

Return Value Description
Output
  • On Success: 1, File downloaded successfully
  • On Failure: 0, Error Message

Sample

Download File (ABCDCEF, Source/New_file.txt, C:\New_file)

  • Uses the access token ‘ABCDCEF’ to connect to the Dropbox account, downloads the file ‘Source/New_file.txt’ to ‘C:\New_file’.
    Returns ‘File downloaded successfully’ on downloading the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?