Read File

The Read File Step extracts data from the file on a local or remote desktop into a binary variable. This step can be used to read from a file on the Robot File System.

Note To enable file system access, including access to the local file system in the Local Desktop Automation mode, select the Allow File System and Command Line Access option on the Security tab in the RoboServer settings window.

If your RoboServer is configured to not allow local file system access, you cannot use this step with File Access set to Direct Access on the local device. However, you can use it on the local device with File Access set to Via RFS. On a remove device, both options, "Direct Access" and "Via RFS", can be used at all times.

Properties

  • Device: Select the reference name to use. This reference name is specified in the Required Devices property of the Call Robot step.
  • File Access: Specify how the file must be accessed.

    • To read from a file on the specified local or remote device, select Direct Access.

    • To read from a file on a robot file system, select Via RFS.

  • File Name: Specify the path to the file from which to extract the data.
  • Variable: Specify the binary variable in which to store the extracted data.