Search

Upload File

Last Updated: May 10, 2022

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

To know more about access_token, click here.

Returns Parameters

Output Parameter Name Description
Output
  • On Success returns 1 | Dropbox file_path
  • On Failure returns 0 | Error Message

Sample

Upload File (12345, C:/Invoice.pdf, /Invoices)

  • Uses the access token ABCDCEF to connect to the Dropbox account, uploads the file C:/Invoice.pdf to /Invoices.
    Returns the path where the file is uploaded.

To view all the Dropbox functions, click here.

Did you find what you were looking for?