
Chapter 3 - FTP Commands | List of Commands |
FTP URL (-URL)
The FTP URL adapter command
server. Specify the file name(s) to be retrieved (adapter source) or created/appended (adapter target).
Option | Description |
FTP: | Specify as a connection to an FTP server. If not |
| specified, FTP: is assumed, along with the //. Another |
| / is required to separate the user and host parameters |
| from file and transfer type, if specified. |
|
|
ftp_user | Specify the user name to connect to the FTP server. |
| Unless you are also specifying a password, this |
| parameter must be followed by @ if you specify |
| ftp_host. |
|
|
:ftp_pass
ftp_host
:ftp_port
dir/…
filename
;type=xfer_type
Specify the password that authenticates the user name. This parameter must be followed by @ if you are also
specifying ftp_host.
Specify the FTP server name or address to which to connect. If not specified, the default of localhost is assumed.
The port name or number to use for connection
Specify the directory path for the file. The ellipsis (…) indicates this field can repeat, depending on your directory structure.
Specify the name of the target file. This is required for an adapter target but optional for an adapter source. If not specified, all files in the path are retrieved.
Specify the transfer type or mode. The supported transfer types vary from server to server. Depending on the server, there may be additional or omitted transfer types. Valid transfer types are:
A[len][!] ASCII
len specifies the optional record length to which to pad or truncate the record.
!indicates no line terminator for the record(s).
F T P A d a p t e r R e f e r e n c e G u i d e
1 9