Search

Move File

Last Updated: Nov 4, 2020

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

Returns

Return Value Description
Output
  • On Success: 1, File moved successfully
  • On Failure: 0, Error Message

Sample

Move File (ABCDCEF, Source/New_file, Destination/New_file)

  • Uses the access token ‘ABCDCEF’ to connect to the Dropbox account, moves the file ‘Source/New_file.txt’ to ‘/Destination/’.
    Returns ‘File moved successfully’ on moving the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?