Search

List Files

Last Updated: May 27, 2021

Articles

Use this function to list the files in a folder in Dropbox.

Syntax

List Files (access_token, folder name)

Parameters

Input Parameter Name Description
access_token Access token of Dropbox
folder_name Name of the folder that needs to be created

To know more about access_token, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | file list ex:filepath1,filepath2,filepath3
  • On Failure returns 0 | Error Message

Sample

List Files (ABCDCEF, /Invoices/Travel)

  • Uses the access token ABCDCEF to connect to the Dropbox account, lists the files in the folder /Invoices/Travel.
    Returns a list of the files in the folder.

To view all the Dropbox functions, click here.

Did you find what you were looking for?