Creating LAN File Source Activity

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. Enter the network path of the source file in the File Path textbox in the following format:

    \\hostname\folder name 

    You 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. Enter the name of the source file in textbox File Name. For Example: Employee_Info.xls
  6. Select the file system from the drop-down list File System. This drop-down list has the following two options:
     
    • Windows
    • Unix 

    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. If you want to enforce the validation of User ID and Password every time while accessing the file on a remote machine, select the Use VFS checkbox.

  7. If authentication is required to access the source file, select the Secure checkbox.
  8. Enter the username in the textbox User ID.
  9. Enter the password, if required, in the textbox Password. Then re-enter the password in the textbox Confirm Password field.
  10. Expand Advanced Properties and select the project of the activity from the drop-down list of Project.



  11. Click Save.

     

    You 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.