Categories

Versions

Write File (AI Studio Core)

Synopsis

Writes a file object to a file or to the repository as a blob.

Description

This operator writes a file object to a file or to the repository as a blob. Note that you cannot use this to save an example set, model, or other object. This is used only for uninterpreted data delivered by Open File, etc.

Input

  • file (File)

Output

  • file (File)

Parameters

  • resource typeChoose whether to open a file, a URL or a repository entry.
  • filenameFile to save to.
  • repository entryRepository entry to open. This must point to a blob.
  • mime typeIf saved to a legacy repository or an AI Hub repository, this specifies the mime type to assign to the blob. Ignored if saving to a new local repository or a versioned project.