Storage (STORE)
Storage objects allow you to upload a file and store it in binary format in the database. On the Storage page you specify files that you want to store in the object. You can add, edit or remove files. Once a storage object definition is saved, all uploaded files are permanently stored in the database with the object. Even if you delete a file from the table on the Storage page of the object definition, the files are kept. This is important for rollbacks and historical data.
To Define a Storage Object
- On the Storage page click the first row in the list to activate it.
- Enter the Name of the file you want to store in the database, which must be unique.
- In File Upload click the upload icon and search for the file.
- In Type, the file format of the selected file is displayed. It can be Binary or Text. This ensures that the code page settings of the target system are applied.
- Optionally, enter the Version number of the file. This information helps you keep track of its changes.
- Optionally, enter the Operating System from which the file originates. The options are:
- Windows
- Unix
- * (any operating system)
- Optionally, enter the Platform from which the file originates, where * means any operating system.
- Optionally, enter information on the Hardware , where * means any hardware type.
- Save the object
Note: The Operating System, Platform, and Hardware values apply only when files are transferred to the Agent of the operating system. This kind of file transfer is executed with an :ATTACH_RES
statement in the transfer script. For more information, see :ATTACH_RES.