Initiates copy action of selected files.
Parameters
Name | Type | Description |
source required | array | array with selected files |
target required | string | specified folder id |
overwrite required | integer | |
cb optional | function | specified folder id |
Example
this.filecmdCopy = function(source, target, overwrite, cb) { var data = { ids: source, target : target }; if (typeof overwrite != 'undefined') { data.overwrite = overwrite; } return _request({ method: 'POST', url: '/file/copy', data: data, callback: cb }); };
Add Comment