public function dropbox::create_folder in Dropbox Client 7
Same name and namespace in other branches
- 7.4 dropbox.php \dropbox::create_folder()
- 7.2 dropbox.php \dropbox::create_folder()
- 7.3 dropbox.php \dropbox::create_folder()
Create a folder relative to the user's Dropbox root or the user's application sandbox folder.
Parameters
string $path The path to the new folder to create.:
string $root Either 'dropbox' or 'sandbox':
Return value
a response object
File
- ./
dropbox.php, line 342
Class
Code
public function create_folder($path, $root = 'dropbox') {
return $this
->_response_request('/fileops/create_folder?path=' . rawurlencode($path) . '&root=' . $root);
}