FTP
Use the IBM® App Connect Enterprise Toolkit to configure message flow nodes that have been converted from the IBM App Connect Professional FTP activities.
About this task
When you import an orchestration that contains FTP activities, the conversion utility creates a message flow with the FileRead, FileOutput, FileInput nodes, and JavaCompute nodes. See Table 1, for information on which nodes are used for each of the activities.
| IBM App Connect Professional activity | IBM App Connect Enterprise node |
|---|---|
| Get file | |
| Put file | |
| Rename file | |
| Delete file | |
| List files | |
| Poll directory |
Steps to connect FTP server
Procedure
FileRead node for get file activity
About this task
Procedure
- Set the input directory property to any local directory path. For example: C:\Users\Administrator\Desktop\FileReadNode
- Enter the file name or pattern to identify the files to process (for example, *.txt*,
*.JSON*, for multiple files) The default action on successful processing is delete. To move the files instead of deleting them, select other options in the drop down

- In the message domain parsing property, select message domain from the drop down to
specify how the file content should be interpreted. For example, JSON: for java script object
notation messages

- Provide the FTP endpoint details under the FTP section in File Input node properties
- In the FTP tab, specify the server directory from which the files will be read. This directory should correspond to the location where the files are stored on the FTP server
Example
HttpInput Node > File Read Node > HttpReply Node
FileOutput node for put file activity
About this task
Procedure
- Set the directory property to any local directory path. For example, C:\Users\Administrator\Desktop\FileOutputNodeLocal
- Define the file name or pattern for generating the output file names ('*' for multiple
files).

- Enter the FTP endpoint details under the FTP section in the FileOutput node properties
- In the FTP tab, specify the server directory where the files will be written. This directory is where the processed files will be saved on the FTP server.
Example
FileInput Node > FileOutput Node
FileRead and FileOutput nodes for rename file activity
About this task
Procedure
- Set the Input directory property in the FileRead node to a local directory path, such as C:\Users\Administrator\Desktop\FileInputNodeLocal. Enter the new File name or pattern
- In the FileRead node properties, under the Basic tab, set the action to
delete

- Enter the FTP endpoint details under the FTP section in the FileRead node properties
- In the FTP tab of the File Read node, specify the server directory from which the files will be read. This is the directory on the FTP server where the processed files will be saved
- Set the directory property in the File Output node to a local directory path, such as
C:\Users\Administrator\Desktop\FileOutputNodeLocal The FileOutput node writes the contents to a new file with the desired name (* for multiple files).

- Enter the FTP endpoint details under the FTP section in the File Output node properties
- In the FTP tab of the FileOutput node, specify the Server directory where the files will be written. This is the directory on the FTP server where the processed files will be saved.
Example
HttpInput Node > FileRead Node > Fileoutput Node > HttpReply Node
FileRead node for delete file activity
About this task
Files can be deleted using the FileRead node in IBM App Connect Enterprise.
Procedure
Example
HttpInput Node > FileRead Node > HttpReply Node
JavaCompute node for list file activity
About this task
Java Compute Node code snippet that performs the following tasks:
Procedure
FileInput and FileOutput nodes for poll directory activity
About this task
Procedure
- Set the Input directory property in the FileInput node to a local directory path, such as C:\Users\Administrator\Desktop\FileInputNodeLocal
- Define the file name pattern to identify the files to process (for example, *.txt,
*.json,* for multiple files).

- Set the Polling interval to control how often the node checks the directory for new
files FTP Remote Transfer is selected, so Polling interval is disabled.


- Uncheck the FTP Remote Transfer to enable polling, then edit the polling property and
save. Select remote transfer to connect FTP endpoint.

- In message domain parsing property, select message domain from drop down, for example
JSON : for JavaScript Object Notation messages

- Provide the FTP endpoint details under the FTP section in the FileInput node properties.
- In the FTP Tab under FileInput node, specify the server directory from which the files will be polled. This should match the location where your files are stored on the FTP server.
- Set the directory property in the FileOutput node to a local
directory path, such as
C:\Users\Administrator\Desktop\FileOutputNodeLocal To poll multiple files, use * as a wildcard in the File name or pattern property

- Provide the FTP endpoint details under the FTP section in the FileOutput node properties.
- In the FTP Tab of the FileOutput node, specify the server directory where the files will be written. This is the directory on the FTP server where the processed files will be saved.
Example
FileInput node > FileOutput node
Configure the File Name or Pattern When Mapped from Other Nodes
About this task
Procedure
Steps to Pass File Name from File Output Node to File Read node example
Procedure
Configure the Binary Code
About this task
Coded Character Set Identifier(CCSID) for all different
encodings are:
Configuring ISO-8859-1 Text Handing in Input Message Parsing
To use text with ISO-8859-1 encoding, follow these
steps:
Procedure
Secure File Transfer Protocol (SFTP)
About this task
Procedure
File Transfer Protocol Secure
About this task
Procedure
Certificate Configuration in IBM App Connect Enterprise
About this task
In IBM App Connect Enterprise, certificate information is configured in the
server.conf.yaml file under JVM ResourceManager. You can
specify the keystore and truststore details and import the certificate
accordingly.
ACE uses a Java KeyStore (JKS) or PKCS12 Truststore to validate SSL/TLS connections.
Steps to configure certificates in IBM App Connect Enterprise














