Files.Copy

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);

Copyright © 2010 - 2023 Emakin. All rights reserved.