--- title: "system.iec61850.listFiles" description: "This function returns a list of filenames from a remote path for the configured IEC 61850 device." --- # system.iec61850.listFiles > This function returns a list of filenames from a remote path for the configured IEC 61850 device. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.iec61850.listFiles(deviceName, remoteFilePath)` ### Parameters Type | Parameter | Description ------- | ------- | ------ String| `deviceName` | The name of the configured IEC 61850 device. String| `remoteFilePath` | The 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 ```python title="Example #1" # This example will pull files present in the # device remote file path. result = system.iec61850.listFiles("IEC61850", "") print(result) ```