Search

Download Folder As ZIP

Articles

Use this function to download a folder as a ZIP file from Dropbox.

Syntax

Download Folder As ZIP (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 Folder As ZIP (ABCDCEF, Source/New_File, C:\New_file)

  • Uses the access token ‘ABCDCEF’ to connect to the Dropbox account, downloads the folder ‘Source/New_file’ as a zip file 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?