File Tools Function Blocks

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

Fucnction Block Use
FileClose Close an open file.
FileCopy Copy a file.
FileDelete Remove a file.
FileEOF Test if the end of the file is reached in a file that is open for reading.
FileExists Test 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 Read a string value from a text file.
FileRename Rename a file.
FileSeek Set the current position of a file.
FileSize Get the size of a file.
FileWriteBinData Write binary data to a file.
FileWriteLine Write a string value to a text file.