Skip to content

Files

Access files on the PLC. Requires feature flag Files enabled.

Not implemented. File access requires the ADS SystemService protocol (index groups 0x78xx), which the underlying ADS library does not provide. All three endpoints below return 501 Not Implemented with error code NOT_IMPLEMENTED for every request. The routes are kept in place for API stability and will be implemented once the library gains SystemService support.

Read File

GET /api/plcs/{plcId}/files/{path}

Policy: ReadAccess

Returns the file content as base64-encoded bytes. Currently always returns 501.

Write File

PUT /api/plcs/{plcId}/files/{path}

Policy: WriteAccess

Upload or overwrite a file on the PLC. Currently always returns 501.

List Directory

GET /api/plcs/{plcId}/files?dir={path}

Policy: ReadAccess

Returns a list of entries in the specified directory. Currently always returns 501.