Overview
Creates a new copy of fileFileInfo myFiles.Copy(id: string)
Arguments
string id
Id number of of file
Returns
Instance of new copied file info.Example
Code Block | ||
---|---|---|
| ||
var file = $File.Copy('1234'); console.log(file.Id); |
FileInfo myFiles.Copy(id: string)
Code Block | ||
---|---|---|
| ||
var file = $File.Copy('1234'); console.log(file.Id); |