Connector Framework Server 25.3
Connector Framework Server Help

# Import Content Into a Document

The `ImportFile` task imports a file and adds its content to the document being processed. CFS does not extract sub files from the file.

The `ImportFile` task can be configured as a Pre or Post task. When you create the task, specify the name of a document field that contains the path or URL of the file to import, for example:

    Pre0=ImportFile:fieldname
    Post0=ImportFile:fieldname

where `fieldname` is the name of the document field.

Alternatively, specify the name of a section in the configuration file that contains the settings for the task:

    [ImportTasks]
    Post0=ImportFile:MySettings

    [MySettings]
    Fieldname=field_containing_file_path_or_url
    ProxyHost=10.0.0.1
    ProxyPort=8080
    SSLMethod=TLSV1

If the field contains a URL, CFS downloads the file and adds its content to the document.

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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: Knowledge Discovery Connector Framework Server 25.3

Topic Title: Import Content Into a Document