About the Files Connector

This page discusses:

What Is a Files Connector?

You add a Files connector when you want to import files from your sources, such as:

  • Local file systems (ex. D:\CAD\OtherProject)
  • Network file systems (ex. \\server\cad_files)
  • Remote file systems - for details see the OnePart Installation Guide

In all cases, you can:

  • configure several paths to crawl
  • exclude paths
  • crawl based on filename extensions (for example, to exclude unwanted file extensions such as log files)

To import files located on file systems, you can create:

  • a single Files connector with multiple paths or
  • multiple Files connectors, for example, for independent scheduling needs.

OnePart Template

You can manually create the connectors in the Administration Console using the preconfigured Files connector, OnePartTemplate, that ships with OnePart.

Important: Do NOT delete this connector, nor use it to index files. Instead, create new connectors based on this preconfigured Files connector.

Here we copy the OnePartTemplate connector’s configuration to keep the preconfigured “exclude rules” that stop unwanted files such as hidden and temporary files from being indexed. However, we change its name, edit the indexed paths, and add additional rules.

Limitations

The following limitations must be considered when implementing a Files connector:

  • Windows servers have some limitations handling multiple connections to the same fileshare from different windows sessions.
  • OnePart cannot access remote files on a UNIX platform if they are mounted with the option directio. When this option is used, the Files connector cannot import files within this file system. This is the case for CIFS (Common Internet File System) mount points, as directio is defined as the default setting. Explicitly define the nodirectio option for this case. For more information, see the “Linux man page” for the UNIX command: mount.cifs(8).

File Access

Local File Access

When you create a Files connector, you must ensure that OnePart has the necessary privileges to crawl the file system.

By default, the privileges are those of the service account used to install OnePart. A different login / password can be specified. See About the Files Connector.

On a Windows server, OnePart often runs using the Local System user account, which has no access to network file systems. If you want the OnePart user to have privileges to access network files, you must configure it to run with a domain user account.

Direct File Access

OnePart supports Direct File Access (DFA) on your file systems for enhanced import capabilities on local, unsecured files when advised by your OnePart expert.

If you need to enable this feature, you can edit the Advanced connector configuration in the Administration Console.

Select the Direct File Access option as shown below in Advanced connector configuration > PushAPI Filters > Item 2: XCV Convert PushAPIFilter and apply the configuration.



Network File Access

If your files are not on the OnePart server, OnePart must access the files remotely. Your network administrator must ensure that the file system to be imported is shared on the network and that you have sufficient privileges as follows.

  • You can crawl a UNIX remote file system if it is shared on the network. You can share file systems on the network using SAMBA (with CIFS support) on the UNIX machine, export the corresponding share to the Windows machine, and then mount this share as a regular Windows share.

  • Whether or not the network file system is hosted on Windows or UNIX, the OnePart user account is used to crawl the file system. Verify that this account has the necessary permissions to crawl the remote file system. The account must be valid for the domain. See File Read Permissions.

File Read Permissions

To scan a network share such as \\yourfileshare\public\caddata\ (with the Files connector) you must:

  • make sure that your network share is accessible (at least in Read only) for the user account OnePart is running as, OR

  • change the Windows service account to an account that has access to the network share. Go to Properties > Log on of the “Exalead Exalead CloudView - onepart” service, for example, and use Log On as option. Restart this service.

    Note: OnePart does not currently support all network drive configurations such as X:\myproject