Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
Skip to end of metadata
Go to start of metadata

Initiates copy action of selected files.

Parameters 

 

Name TypeDescription

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
  });
};

 

 

  • No labels
Write a comment…
Quatrix JavaSctipt APIs QJA