Setting up an automatic remote file import

On a regular basis you can configure an automatic import of files from one station to another.
Prerequisites: You are connected to the station that will receive the imported file(s).
  1. Expand Config > Drivers > NiagaraNetwork, expand a remote station and double-click the Files folder.
    The Niagara File Manager view opens.
    Image

    This manager lists the existing automatic file import jobs.

  2. To set up an automatic import, click New, select Niagara File Import from the drop-down list and click OK.
    The New window with configuration properties opens.
    Image

    By default the import instance is enabled. Files defines a pair of local and remote files. The Local file receives the import sent by the Remote file.

    As of Niagara 4.13 Route To Station optionally specifies a route of intermediate station names (delimited by semi-colons) to reach the remote, reachable NiagaraStation from which to perform the file import operation.

  3. Configure at least when to perform the import (Execution Time).
  4. To set up a local file, click the down arrow beside the file folder (Image) to the right of the Local file property, select File Ord Chooser, locate the file and click Open.
  5. To define the source (remote) file for the import, enter file path in the Remote file property.
  6. To set up another local and remote pair of files, click the plus icon (Image) and identify the files.
  7. To delete a local and remote file pair, the X icon (Image).
    The station removes the pair.
  8. After defining one or more file pairs, click OK.
    The station saves the file descriptor.

    If you selected directory, the execution imports the entire contents of the directory including all contained files plus subdirectories and files. If the subdirectories and files already existing, the File Overwrite Policy must be met before each write.