File

Copy File

You can create a copy of an existing file to a new location, with an optional new name. This is useful for versioning files, creating backups, or moving data within the same namespace.

A file can be copied in two ways:

  • By file ID
  • By namespace, location, and file name

The copy operation requires the new location and optionally a new name.

You can copy file using the SDK or a direct API request as below::