Skip to main content
Version: 8.1


New in 8.1.25

This function is used in Python Scripting.


This function downloads remote files from the configured IEC 61850 device to an identified local path.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.


system.iec61850.readFile(deviceName, remoteFilePath, localFilePath)


StringdeviceNameThe name of the configured IEC 61850 device.
StringremoteFilePathThe remote file path on the server of the file to read.
StringlocalFilePathThe local file path on client to store the file contents.


No return value.


Gateway, Perspective Session

Code Examples

Example #1
# This example reads the file contents from device remote file path.
# The read file is stored in the local file path.

# Ignition 61850 Device Name
device_name = 'IEC61850'

# File name you wish to read for the 61850 Device
file_name = 'COMFEDE.ced'

# Full Path where the file will be read from the 61850 device
file_path = '/{0}'.format(file_name)

# Full Path where to store your file on your Ignition Gateway
local_path = '/usr/local/bin/ignition/COMFEDE/{0}'.format(file_name)

system.iec61850.readFile(device_name, file_path, local_path)


system iec61850 readFile system.iec61850.readFile