Search

Move File

Last Updated: Mar 8, 2023

Articles

Use this function to move file from one folder to another in Dropbox.

Syntax

Move File (access_token, from_path, to_path)

Parameters

Input Parameter Name Description
access_token Access token of Dropbox
from_path Path of the file that needs to be moved
to_path Path to where the file needs to be moved

To know more about access_token, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | File moved successfully
  • On Failure returns 0 | Error Message

Sample

Move File (ABCDCEF, /Invoices/Travel.pdf, /Travel)

  • Uses the access token ABCDCEF to connect to the Dropbox account, moves the file /Invoices/Travel.pdf to /Travel.
    Returns File moved successfully on moving the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?