File Tools Function Blocks

This section documents function blocks that can be applied to files.

Name

Description

FileClose

Closes an open file.

FileCopy

Copies a file's contents to a new file.

FileDelete

Removes a file from the file system.

FileEOF

Test if the end of the file is reached in a file that is open for reading.

FileExists

Tests if a file exists.

FileOpenA

Create or open a file in append mode.

FileOpenR

Open a file for reading.

FileOpenW

Create or reset a file and open it for writing.

FileReadBinData

Read binary data from a file.

FileReadLine

Reads a string value from a text file.

FileRename

Renames a file.

FileSeek

Sets the current position in an open file.

FileSize

Gets the size of a file.

FileWriteBinData

Write binary data to a file.

FileWriteLine

Writes a string value to a text file.