Categories

Versions

Store to File (Advanced File Connectors)

Synopsis

This operator wraps the given input as a file object.

Description

The operator is intended to be used in combination with another write operator: the operator wraps the given input object as a file object that can be passed to any operator ingesting file objects.

The operator does not write or convert any data during its own runtime. Instead, the returned file object will trigger the conversion when used by a subsequent operator.

Input

  • input (IOObject)

    The input object to be wrapped. Not supported are connections, collections and files.

Output

  • file (File)

    The wrapped input object.

  • through (IOObject)

    Passes through the input object.

Differentiation

Store

The Store operator stores the IO object in a Repository location while the Store to File operator converts it to a file that can then be stored with another operator. Furthermore, while almost all IO objects can be stored with the Store operator, the Store to File operator does not support connections and collections.

Tutorial Processes

Store to and Retrieve from File

In this Example Process we create a model and convert it into a file using the Store to File operator. The file is then written to disk using the Write File operator. Instead of the Write File operator another Write operator for an external storage like Write Dropbox, Write Google Drive, ... could be used. Then comes the part that would be usually done in another process: A new file object is created via the Open File operator and then fed into the Retrieve from File operator. Again, instead of the Open File operator a Read operator like Read Dropbox, Read Google Drive, ... could be used. When you run the process you see the retrived model in the Results view.