Skip to main content
Version: 8.1

system.iec61850.listFiles

New in 8.1.25

This function is used in Python Scripting.

Description​

This function returns a list of filenames from a remote path for the configured IEC 61850 device.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.iec61850.listFiles(deviceName, remoteFilePath)

Parameters​

TypeParameterDescription
StringdeviceNameThe name of the configured IEC 61850 device.
StringremoteFilePathThe remote file path on the server of the configured IEC 61850 device for the file to read. [optional]

Returns​

No return value.

Scope​

Gateway, Perspective Session

Code Examples​

Example #1
# This example will pull files present in the
# device remote file path.

result = system.iec61850.listFiles("IEC61850", "")
print(result)