Search

Upload File

Last Updated: Nov 4, 2020

Articles

Use this function to upload file from one place to another in Dropbox.

Syntax

Upload File (access_token, file_path, folder_path)

Parameters

Input Parameter Name Description
access_token Authentication token
file_path File path of local system
folder_path Folder path of Dropbox

Returns Parameters

Output Parameter Name Description
Output
  • On Success: 1, Dropbox file_path
  • On Failure: 0, Error Message

Sample

Upload File (12345, C:\New_file.txt, Destination/New_file)

  • Uses the access token ‘ABCDCEF’ to connect to the Dropbox account, uploads the file ‘C:\New_file.txt’ to ‘Destination\New_file’.
    Returns the ‘Dropbox file_path’ on uploading the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?