Excerpt |
---|
Release documents to an FTP destination using basic User/Password credentials. |
...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The FTP Release node is available in GlobalCapture only. |
Info |
---|
This node will need to be downloaded from the Square 9 SDN before proceeding. |
Note |
---|
FTP Release supports Passive mode FTP only. This node does not, and is not expected to ever support Active mode transfers for FTP. |
Configuration
The FTP Release node is available in the GlobalCapture nodes gallery. When downloaded, it will be made available automatically in your node toolbox. Drag and drop the node to workflow design canvas to configure the node.
Note |
---|
FTP Release supports Passive mode FTP only. This node does not, and is not expected to ever support Active mode transfers for FTP. |
First, configure the connection details:
...
You will need the IP address or FQDN of the FTP Server.
The default port for FTPS is 990. If your server is provisioned on a different port, change it here. The default (not recommended) port for FTP is 21.
User name and password credentials are required. Anonymous access is allowed by specifying “anonymous” as the user with a random password > 7 characters in length.
Implicit FTP is recommended, but settings will depend on your FTP server. Using this mode, the FTP transaction runs over a secure channel by default.
Explicit FTP should not be used with Implicit checked. When implicit FTP is enabled, it will always be used. Explicit FTP begins the session with an unencrypted channel and should be avoided if possible.
Next, configure the release options:
...
Node Properties
Title
The title of the node should be brief but descriptive of where documents are being released. Titles are useful when reading the history in the history of a workflow for easier understanding of the overall process.
Description
Provide a synopsis of what this node is doing, or make note of any important details. This is useful for providing additional information such as where documents are being released to, why that location has been chosen, etc. A good description is helpful when returning to modify the workflow in the future.
FTP Server
The FTP Server is the IP Address or the FQDN of the SFTP server.
Info |
---|
How to find the Hostname of a server:
|
Info |
---|
How to find the IP Address of a server:
|
Port
Along with the Hostname or IP Address, there will be an associated Port Number to go with this. Generally speaking, port 990 is used by default for FTP Servers but may differ on your network settings. If you are unsure of this information, consult with you Network Administrator.
Username and Password
Enter the username and password that will allow GlobalCapture to write documents to the FTP server. The username can be formatted as DomainName\Username, or a valid email address.
Info |
---|
Speak to your Network Administrator for the credentials to be used for accessing the FTP Server. |
Use Implicit FTPS
Use Implicit FTPS is enabled by default, and is recommended. Enabling this option means that the document release is performed over a secured channel.
Use Explicit FTPS
Use Explicit FTPS should not be combined with Implicit FTPS. When enabled, it starts the document release on an unsecured channel to the FTP server.
Note |
---|
It is recommended to enable Implicit OR Explicit FTPS, not both. |
Relative Path
The Relative Path specifies where to output the file. Leaving this path empty will release files to the root location. Alternately, specify a path, or use notation to create a dynamic path based on data in one or more process fields.
...
File Name
File Name is required, and will become the output file name in the destination.
...
You can use one or more process fields to construct a valid file name using Square 9 Notation. Using the notation {p_OriginalFileName} will name a file based on the original file name processed by GlobalCapture. You might also consider using {PROCESSID} to name a document based on the GlobalCapture process that sourced it.
Note |
---|
File Name should not include the extension of the file. GlobalCapture will automatically append the file name with the proper extension. |
Allow overwrite of files in destination
Use the Allow overwrite option if you want duplicate files to be overwritten. If this option is unchecked and you release a duplicate file, the process WILL NOT error, but release the file with a modified name and the action will be noted in the process history.
Delete files after release
Delete files after release should be enabled for any release step that is the last release step in a workflow. This option allows GlobalCapture to clean up after itself by removing the file from the GlobalCapture working directory. Unchecking this option may be useful in troubleshooting scenarios, but should always be enabled in production workflows.
Note |
---|
File Name should not include the extension of the file. GlobalCapture will automatically append the file name with the proper extension. |
Data Validation
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Action Select
The node expects two outputs. Success and Failure. The node can write response information from the FTP
...
Server to a process field if further control routing is desired.
...
To utilize this function, you’ll need to create a field
...
Date
...
Version
...
Description
...
01/06/2023
...
1.0
...
called “FTP Status”, and add this to your workflow in the process fields pane.
Info |
---|
A Set Process Field node is not needed to use this field, as the information is automatically pulled from rclone and acts as a system field similar to Page Count, or Date Entered. |
Success
Success responses:
0 - Success.
9 - Successful, but no transfer. This is the response if you are writing a file that already exists, without the overwrite option enabled.
Failure
Failure responses:
1 - Syntax error. This is an unlikely error, generally caused by incorrect parameters being passed internally.
2 - Uncategorized error.
3 - Directory not found.
4 - File not found.
5 - Temporary error - A retry step in the workflow may resolve such an error. Sometimes arising from exceeding throughput limits.
7 - Fatal error - Invalid accounts, accounts suspended, etc.
8 - Transfer limit exceeded.
Use Case
Using the FTP Release node for nightly uploads to an FTP Server
In this example, I've configured the FTP Release Node to release documents to an FTP Server on a nightly basis for backup purposes. Based off of the success or failure of the release, this can redirect documents accordingly. I've also created a new process field called "FTP Status" and added this to the Process Fields pane for our workflow.
This is useful to provide an update as to whether or not the release of documents to the FTP Server have been completed or not by providing a response in the batch history.