Overview
FileInfo Files myFiles.Copy(id: string)
Arguments
string id
Id number of of file
Example
Code Block | ||
---|---|---|
| ||
var file = $File.Copy('1234');
console.log(file.Id); |
...
Returns
...
Remarks
This method throws exception if given file id is not found.
Example
Code Block | ||
---|---|---|
| ||
var file = $File.Copy('1234'fileId); console.log(file.Id); |