public function dropbox::move in Dropbox Client 7
Same name and namespace in other branches
- 7.4 dropbox.php \dropbox::move()
- 7.2 dropbox.php \dropbox::move()
- 7.3 dropbox.php \dropbox::move()
Copies a file or folder in dropbox to another location within dropbox.
Parameters
string $from The relative path to the file to be moved.:
string $to The relative path (Including file or folder name) to the new location.:
string $root Either 'dropbox' or 'sandbox':
Return value
a response object
File
- ./
dropbox.php, line 368
Class
Code
public function move($from, $to, $root = 'dropbox') {
return $this
->_response_request('/fileops/move?from_path=' . rawurlencode($from) . '&to_path=' . rawurlencode($to) . '&root=' . $root);
}