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

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
Quatrix JavaSctipt APIs QJA