Read from Windows share

Read from Windows share

You can setup InterformNG2 to read input files from a folder found via Windows share (Samba network/UNC). For that you need to create a workflow with the input typeRead from Windows share.

This can e.g. be useful, if you want to monitor a folder on a Windows machine from an IBM i without the use of QNTC.

 

Like many other functions in InterformNG2 this require a license code which enables this function.

A related workflow component is: To Windows share.

 

This input type has these parameters:



  1. Input type
    The type of workflow file type.
  2. Share 
    The name of the Windows share connection, that you want to use. Select the connection via the drop down list.
  3. Sub directory
    This is optional. If specified this is the relative path from the share to the directory, that you want to read from.

The other fields are in common with the Read from file option.


Example of use
Here is an example how this can be setup:
There is an internal server with the IP-address: 192.168.151.250 and on this server there is a directory called: apf3812home. This is a shared directory.
InterformNG2 is setup to access this shared directory with this connection setting:

Above the Directory is /, which means that this Windows share connection access the shared apf3812home directory (and consider this the root).

Inside the apf3812home directory there is a sub-directory called NG2_input and we can monitor that directory for input XML files with this setup:

When files are processed in the NG2_input directory they are temporarily moved the 'processing' sub-directory and then to the 'processed' sub-directory, when the processing is done.
    • Related Articles

    • Windows Share to attachment

      The advanced, utilities workflow component, Windows Share to attachment reads a file from the referenced Windows Share and stores it into an attachment of the current workflow. This attachment can be used e.g. as an additional attachment in a ...
    • Windows share connections

      If you want to use windows shares in InterformNG2 for reading and writing data via such a shared folder, then you first need to define a connection to this share. This link might help you to define a share on the remote server: ...
    • To Windows share

      If you want to store output files e.g. PDF files generated by InterformNG2, then you have many options. One of them is the To filesystem. If you want to store an output file onto the file system of another machine, then you can e.g. consider to e.g. ...
    • Windows Share file to payload

      The advanced, utilities workflow component, Windows Share file to payload reads a file from a Windows Share and loads it into the payload of the current workflow. The workflow component has these parameters: Share The Windows Share connection used ...
    • Read from email server

      The workflow input type, Read from email server can be used, if you want InterformNG2 to read incoming emails from a mail server and then process these emails. You can select this input type, when you create a new workflow: The parameters of this ...