Renames specified file or folder
Parameters
Name | Type | Description |
id required | string | id of specified folder or file |
name required | string | new file or folder name |
cb optional | function | callback function |
Example
this.filecmdRename = function(id, name, cb) { return _request({ method: 'POST', url: '/file/rename', data: { id: id, name: name }, callback : cb }); };
Add Comment