Write File Activity


Writes a file to a specified location.

Inheritance Hierarchy:



This activity writes a file to disk. It accepts the byte content of an arbitrary file and the file path to the location where you want to file to go. This activity provides a convenient wrapper for the System.IO.File.WriteAllBytes(string path, byte[] bytes)method.

The application executing the workflow must have write access to the file path.

In a Workflow:

The Write File activity can be used to save a file to disk, for example, save an image to a local drive or a network share.


Name Description

In Arguments


The byte content of the file.


The full path to the location where you want the file to go. For example, C:\folder\file.txt. If the target file already exists, it will be overwritten. The application must have permission to write to this location.


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.

Version Information:

Supported from: Geocortex Essentials 3.10.