Skip to main content

Example: File Transfer

Product: CODESYS Visualization

This sample project shows how to transfer files between a CODESYS controller and the CODESYS web visualization.

Description

The FileTransfer.project sample project provides two options for transferring a file between a CODESYS controller and a web visualization client.

  • Transfer type: "File"

    Fast implementation by configuration within the element properties

  • Transmission type: "Streaming"

    The project provides sample implementations for a VisuStreamReader and VisuStreamWriter.

Important

To use this function, you need to add the following entry to the CODESYSControl.cfg file:

[CmpWebServerHandlerV3]
AllowFileTransferServices=1

System requirements and restrictions

Programming system

CODESYS Development System (version 3.5.14.0 or higher)

Runtime system

CODESYS Control Win (version 3.5.14.0 or higher)

Add-on components

-

Note

_example_icon.png DOWNLOAD Project