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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Initiates copy action of selected files.

Parameters 

Name TypeDescription

source 

array

array with selected files

target

string

specified folder id

overwrite

integer 

cb

functionspecified 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
Quatrix JavaSctipt APIs QJA