Skip to main content
Version: 4

LAN File Source

The LAN File Source activity provides the ability to fetch the data from a file, which is accessible on the Local Area Network (LAN). 

This section describes how to create a LAN Source activity using the following details as an example:

File Name

Employee_PersonalDetails.xls

File Path

\\FileServer\HR_Files\Employee

Transfer Type

Secure

File System

Windows

User Id

MyUserName

Password

mypassword

Steps to create a LAN File Source Activity

  1. Click Configure > SOURCES > LAN File Source.

  2. Click CREATE LAN File Source.

  3. On Create LAN File Source screen, enter the name and description of the new LAN File Source in the textboxes of Name and Description respectively.

  4. In the File Path field, enter the network path of the source file in the following format, or select the Use Config checkbox to dynamically fetch it from a Git repository at runtime through a variable.

    \\hostname\folder name 

    InformationYou can also use IP address instead of hostname. Ensure that the path you have defined, is accessible from the machine where Adeptia Connect is running.
  5. In the File Name field, enter the name of the source file (for example Employee_Info.xls), or select the Use Config checkbox to dynamically fetch it from a Git repository at runtime through a variable. 

  6. Select the file system from the drop-down list File System. This drop-down list has the following two options:
     

    When Adeptia Connect is installed on Windows, the LAN File Source uses windows service to connect to remote machine to access any file. It just connects once and uses the same connection with the same User ID and Password (which is stored in the cache) every time. 

    • Windows
    • Unix 
  7. If authentication is required to access the source file, select the Secure checkbox.

  8. Follow the steps below based on whether you are using Hashicorp Vault to fetch the secrets (credentials) or you want to enter the secrets manually.

    InformationTo use Hashicorp Vault, you must enable Config Management feature and you may also need to do project mapping. For more details, refer to  this page.
  9. To fetch the secrets from the Hashicorp Vault, do the followings:

    Information

    You can choose to use Hashicorp Vault for all or a specific field that need to contain secret.

    1. Select the Use Vault checkbox if you want to use Vault for retrieving the User Id. 

    2. In the User Id field, enter the variable in the following format:**${Vault:<Key1>}**Where, <Key1> is the key assigned to the username in the Hashicorp Vault.

      InformationEach secret is maintained as a key-value pair in Hashicorp Vault.

    3. Select the Use Vault checkbox if you want to use Vault for retrieving the password.

    4. In the Password field, enter the variable in the following format:**${Vault:<Key2>}**Where, <Key2> is the key assigned to the password in the Hashicorp Vault.

  10. To enter the secrets manually, do the followings:

    1. In the User Id field, enter the username to connect to FTP Server.
    2. In the Password field, enter the password.
    3. In the Confirm Password field, re-enter the password. ​​
  11. Expand Advanced Properties.

  12. Select Delete File on Success check box, if you want to delete the source file after it is used in the process flow execution. The service will delete the source file once the process flow is executed successfully.

  13. select the project in the Project field.

  14. Click Save.

    InformationYou can verify the LAN file source activity at design time. For this, click Test. This verifies the values in the File Path, User ID and Password fields and checks whether the file actually exists in the specified location. To test this activity, fill up all the required fields and click Test. If the file specified in this activity is present in the specified folder, the test will be successful otherwise it will give an error.