Read File Bytes Activity 
Description:
Reads the bytes of a file.
Inheritance Hierarchy:
System.Object
System.Activities.Activity
System.Activities.AsyncCodeActivity
Geocortex.Workflow.Activities.ReadFileBytes
Function:
This activity reads a file from a URI. This could be a conventional file path such as C:\folder\file.txt
, a web URL such as http://server.domain.com/folder/file.txt
, or the URI for a file in the Essentials Sites folder, such as gcxfile:///folder/file.txt
. The file is read as bytes, so this activity can be used to read any file type.
The application executing the workflow must have read access to the file.
In a Workflow:
The Read File Bytes activity can be used to read the contents of an arbitrary file, for example, a PDF or ZIP file that can then be used by other activities that accept file content as byte data.
Properties:
Name | Description |
---|---|
In Arguments |
|
File Uri |
The URI of the file to read. For example: |
Misc |
|
Display Name |
ReadFileBytes You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain. |
Out Arguments |
|
Bytes |
The byte content of the file. |
Version Information:
Supported from: Geocortex Essentials 4.3.