FTP Connector
Overview
The FTP Connector is a transport Connector that requires a Parser in order to
operate. The Connector reads or writes a data stream that can either be a file
or a directory listing. Think of the FTP Connector as a remote read/write
facility, not something you use to transfer files.
This documentation is correct for the FTP Connector that comes with
Integrator 4.6.8.
Configuration
The Connector needs the following parameters:
Parameter |
Description |
connectorType |
com.architech.connector.rscFTPConnector |
ftpServer |
The FTP hostname |
ftpPort |
The FTP TCP port (defaults to 21) |
ftpUser |
The login username |
ftpPass |
The login password |
ftpPath |
Initial remote directory (for list) or file
(for get/put) to access |
ftpOperation |
The intended operation. Specify
get to read a file (Iterator)
put to write a file (Add Only)
list to do a directory listing (Iterator) |
parser |
Mandatory parser. LineReader
is a usefull parser for list, or if you simply want to copy one file. |
ftpTransferMode |
ASCII or Binary. You usually
want ASCII, since you get a line at the time |
Note
Iterator mode supports ftpOperation get and list, Addonly
support put.
See Also
FTP Object, URL Connector, HTTP
Client Connector, HTTP Server Connector
|