File Functions

File functions allow you to import, export, open, close, and manipulate files within the application. This topic describes how to use file functions and important considerations for cross-platform compatibility.

You can use file functions to import and export files, open and close files, and perform other file operations.

File functions that use path specifications handle the paths relative to the WinCC OA PROJ_PATH. An empty string "" is interpreted as PROJ_PATH.

Attention:
When using file functions, remember that Windows file systems are case-insensitive. File and directory names are not affected by letter casing, so function calls may succeed even if the case does not match exactly. In contrast, Linux-based file systems are case-sensitive. Function calls that work on Windows may fail on Linux if the case of file or directory names is not correct. Always use the exact case for file and directory names to ensure compatibility across platforms.