Reference: |
The FTP Direct Transfer to Disk service is used to read or write files directly from a FTP server to iWay Service Manager (iSM).
If you select send as a value for the Transfer Type parameter, then the file is moved from the directory specified in the Working Directory parameter to the FTP server. If you select transfer as a value for the Transfer Type parameter, then the file is moved from the FTP server directory specified in the Host Directory parameter, to the Working Directory in iSM.
To configure a FTP Direct Transfer to Disk service:
For a complete description of the configuration parameters that are available for the FTP Direct Transfer to Disk service, see FTP Direct Transfer to Disk Service Parameters.
For a complete description of the edges that are returned by the FTP Direct Transfer to Disk service, see FTP Direct Transfer to Disk Service Edges .
The following table lists and describes parameters for the FTP Direct Transfer to Disk service.
Parameter |
Description |
---|---|
Configuration parameters for FTP Direct transfer to disk service | |
Host Name (required) |
The DNS name (or IP address) of the FTP server that you want to connect to. Use the host:port format if the standard port is not 21. |
Remote Port |
The port to connect to on the FTP site. Leave it blank for default port 21. |
User Name (required) |
A valid user ID for the FTP server. |
Password (required) |
A valid password for the FTP server. |
Account Name |
A valid account for the FTP server. |
Use Passive |
If set to true, a PASV command is used. Otherwise, the PORT command is used. Select one of the following options from the drop-down list:
|
Timeout |
The timeout interval (in seconds) for the socket. |
Retry Interval |
The retry interval (in seconds) for the socket. The xxhxxmxxs format can be used for this value. Specify a value of zero (0) for no retry interval. |
Connection Retry |
The number of retry attempts that were made after failed connections to the FTP server. |
Agent Parameters | |
Name of File (required) |
This is the file to be read. A relative or absolute file path is supported explicitly or through a SREG or XPath expression that is evaluated using the incoming document. |
Host Directory |
An optional directory to be used if the name of the file is not absolute. |
Transfer Mode (required) |
When files are transferred in ASCII mode, the transferred data is expected to contain only character-formatted text. Binary mode refers to transferring files as a binary stream of data. Where ASCII mode may use special control characters to format data, Binary mode transmits the raw bytes of the file being transferred. In this way, the file is transferred in its exact original form. Select one of the following options from the drop-down list:
|
Working Directory (required) |
The path to the iSM working directory. |
Transfer Type (required) |
The direction of file transfer. Select one of the following options from the drop-down list:
|
Return 'status' |
Determines the return document status. Select one of the following options from the drop-down list:
|
Delete After Read |
Determines whether to delete the file after the read. Select one of the following options from the drop-down list:
|
Action on Failure |
Determines whether the input document or status document is returned on failure. Select one of the following options from the drop-down list:
|
SSL Parameters | |
Use SSL |
If set, the connection is secured through the Secure Sockets Layer (SSL) protocol. Select one of the following options from the drop-down list:
|
Security Protocol |
Determines the security protocol to be used. Select one of the following options from the drop-down list:
|
Secure Data Connection |
Use a secure data connection (for example, to transfer data securely). This parameter is used in conjunction with Secure Control Connection. Select one of the following options from the drop-down list:
|
Use 128-bit Encryption |
Enforces the use of 128-bit encryption. Select one of the following options from the drop-down list:
|
SSL Security (required) |
Determines the FTP server connection type. Select one of the following options from the drop-down list:
|
Keystore File or Keystore Security Provider |
Keystore file or keystore security provider full path to the keystore file, which provides certificate material to be used for a SSL connection. Specify the name of a keystore security provider, or leave blank to use the configured default keystore security provider. |
Keystore Password |
The password to access the Keystore file. This value is not required if the keystore file or keystore security provider is the name of a keystore security provider. |
Keystore Type |
The type of keystore. This value is not required if the keystore file or keystore security provider is the name of a keystore security provider. |
The following table lists and describes the edges that are returned by the FTP Direct Transfer to Disk service.
Edge |
Description |
---|---|
success |
Operation completed successfully. |
fail_parse |
Failed to properly parse the input parameters of the service. |
fail_connect |
Failed to connect to FTP host for any one of the following reasons:
|
fail_operation |
Invalid parameters or other error. |
iWay Software |