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 9 Current »

Overview

Creates a new copy of file

FileInfo myFiles.Copy(id: string)

Arguments

string id
Id number of of file

Returns

Instance of new copied file info.

Remarks

This method throws exception if given file id is not found.

Example

var file = $File.Copy(fileId);
console.log(file.Id);
  • No labels