Skip to main content
File operations enable you to perform standard file input/output. You can use these operations to move files across directories, log job results, and much more. The example below uses the fileWrite operation in the post-job event to write a new line to a log file:

Operations

fileCopy

Copies a file or a directory to the path that is specified.

fileCreate

Creates a text file and, optionally, writes to it.

fileDelete

Deletes a file or a directory.

fileListDir

Lists the files and the directories in the specified path.

fileMakeDir

Creates the directory that is specified by the path.

fileMove

Moves a file or a directory to the path specified.

fileRead

Reads a text file and pushes out the data.

fileReadLine

Reads a text file and pushes out the next line.

fileWrite

Writes encoded data to a file.