FTP Connector 26.2
FTP Connector Help

# Upload Files to the FTP Server

You can use the `insert` fetch action to upload files to the FTP server.

The user account that you use to upload the file must have write permission for the destination folder.

To use the `insert` action, you must construct some XML that specifies the file to add, and where to insert the file:

    <insertXML>
       <insert>
         <reference>/incoming/my_file.zip</reference>
         <file>
           <type>file</type>
           <displayname>my_file.zip</displayname>
           <content>c:\folder\my_file.zip</content>
         </file>
       </insert>
     </insertXML>

The `reference` element specifies the destination path for the file on the FTP server.

The `file` element specifies the file to insert. For more information about how you can specify the file, refer to the documentation for the `insert` action in the FTP Connector Reference.

Add the XML to the `insert` action as the value of the `insertXML` action parameter. You must URL-encode the XML before adding it to the request:

    http://host:port/action=Fetch&FetchAction=Insert
                                 &ConfigSection=MyTask
                                 &InsertXML=URL-encoded-InsertXML

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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 FTP Connector 26.2

Topic Title: Upload Files to the FTP Server