Read File Bytes Activity


Reads the bytes of a file.

Inheritance Hierarchy:



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, 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.


Name Description

In Arguments

File Uri

The URI of the file to read. For example: C:\folder\file.txt;; gcxfile:///folder/file.txt.


Display Name


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


The byte content of the file.

Version Information:

Supported from: Geocortex Essentials 4.3.