Data Transformation Engine FTP Adapter Reference Guide

Chapter 3 - FTP Commands List of Commands
FTP Adapter Reference Guide
25
Option Description
number
The number of files to be retrieved by the adapter.
Note If you want the maximum number of files retrieved in burst mode to be infinite,
then you must set the –QTY command option number to 'S' and specify "-LSN 0"
on the command line. The –LSN command is currently unsupported, however, it
must be used in conjunction with the –QTY command in this scenario only.
Site (-SITE)
Use the Site adapter command (-SITE) to send an FTP server specific site
command to the FTP server software.
-SITE command_text
Option Description
command_text
Specify the FTP-server-specific site command
(enclosed in single quotes) to send to the FTP server
software
For example:
-SITE ‘namefmt=1’
sends the
NAMEFMT command to an AS/400 FTP server before files are
transferred.
To see what commands are accepted by the server use a BSD-based command
line client (typically the FTP command installed with your Windows or UNIX
operating system) and log in to the server and type the following from the
ftp>
prompt:
quote HELP SITE or quote SITE HELP.
Note The command specified by -SITE is executed prior to the files being transferred.