File System Connector 24.1

# Retrieve Information from a File System

To automatically retrieve files from a file system, create a new fetch task by following these steps. The connector runs each fetch task automatically, based on the schedule that is configured in the configuration file.

To create a new Fetch Task

1. Stop the connector.
2. Open the configuration file in a text editor.

3. In the `[FetchTasks]` section of the configuration file, specify the number of fetch tasks using the `Number` parameter. If you are configuring the first fetch task, type `Number=1`. If one or more fetch tasks have already been configured, increase the value of the `Number` parameter by one (1). Below the `Number` parameter, specify the names of the fetch tasks, starting from zero (0). For example:

       [FetchTasks]
       Number=1
       0=MyTask

4. Below the `[FetchTasks]` section, create a new TaskName section. The name of the section must match the name of the new fetch task. For example:

       [FetchTasks]
       Number=1
       0=MyTask

       [MyTask]

1. To specify the folders that the connector checks for files, set the `DirectoryPathCSVs` and `DirectoryRecursive` parameters.

   `DirectoryPathCSVs` | A comma-separated list of folders from which you want to retrieve files.
   `DirectoryRecursive` | A Boolean that specifies whether the connector retrieves files in sub-folders.

       [MyTask]
       DirectoryPathCSVs=C:\MyFiles\,D:\MyFiles
       DirectoryRecursive=True

   TIP: Using the `DirectoryPathCSVs` parameter, you can specify paths that cause the connector to retrieve files from different types of file system (for example, NT and Netware). However, OpenText recommends that you create separate fetch tasks for retrieving files from different types of file system. This ensures that Access Control Lists can be retrieved correctly.

2. (Optional) To limit the folders that the connector checks for files, you can set the `PathCrawlRegex` and `PathNoCrawlRegex` parameters. These parameters can be useful when the location specified by `DirectoryPathCSVs` contains large folder structures that you do not want to index. For information about these parameters, refer to the File System Connector (CFS) Reference.

3. (Optional) To limit the files that are retrieved, you can use the file selection parameters. For information about these parameters, refer to the File System Connector (CFS) Reference. A file is retrieved only if it matches all of the criteria that are set. For example:

       [MyTask]
       DirectoryPathCSVs=C:\MyFiles\,D:\MyFiles
       DirectoryRecursive=True
       DirectoryFileMatch=*.pdf,*.doc
       DirectoryFileModifiedSince=2012-JUN-15 00:00:01

4. Save and close the configuration file. You can now start the connector.

NOTE: The connector saves or updates a data file for each completed fetch task. If you make changes to the configuration and want to reset the connector so that it retrieves all of your data again, see Reset the Connector.

Related Topics

- Start and Stop the Connector
- Schedule Fetch Tasks

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL File System Connector 24.1

Topic Title: Retrieve Information from a File System