PhenixID

Write Binary to File

Version: 1.2

Category: Output

Extended Category: Binary, Files

Action Package: Standard Actions

Description

Reads the binary content of a session attribute and writes it to a file.

Parameter

Description

Example

Directory File Directory

The directory where the file should be saved. Leave blank for system tmp directory. Supports SESSION(attributeName).

c:\data\

Session Attribute Containing Binary Data

Select the incoming session attribute that contains the binary data.

SESSION(date)_SESSION(time)

File Name

The name of the binary file. Supports SESSION(attributeName)

SESSION(fileName)

File Name Prefix

File name prefix. Supports SESSION(attributeName)

File Name Extension

File name extension. Supports SESSION(attributeName).

.bin

Status Attribute Name

The name of the output status session attribute. Reports SUCCESS if file was created, else FAILED.
Default value=STATUS

Use Cases

Example 1: Save binary data to a file

This is action will write the binary content of a session attribute to a .bin file in the folder /var/opt/export.

Parameter

Value

Directory File Directory

/var/opt/export

Session Attribute Containing Binary Data

SESSION(binaryData)

File Name

SESSION(fileName)

File Name Prefix

[BLANK]

File Name Extension

.bin

Status Attribute Name

[BLANK]


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se