FTP adapter commands

The following table lists valid commands for the FTP adapter, the command syntax, and whether the command is supported (✓) for use with data sources, targets, or both.

Name Syntax Source Target
Account (-AC or -ACCT) -ACCT account_id
Audit (-A or -AUDIT) -AUDIT[+][S] [full_path]
Certificate Authority (-CA) -CA filename
Client Certificate (-CERT) -CERT filename
Client Certificate Password (-CPASS) -CPASS password

Code Page Local (-CPL)
(z/OS only)

-CPL code_page_name

Code Page Remote (-CPR)
(z/OS only)

-CPR code_page_name
Fail (-FAIL -FAIL error_code[:error_code...]
Firewall Connection Method URL (-FW or -FIREWALL) -FIREWALL FTP://firewall_URL
FTP URL (-URL -URL FTP://ftp_URL
GXS (-GXS) -GXS
Ignore (-I or -IGNORE) -IGNORE error_code[:error_code...]
Implicit (-IMPLICIT) -IMPLICIT
Keep Server (-KS) -KS
List Option (-LS) -LS sort_type
Make Directory (-MKD) -MKD
Move (-MOVE) -MOVE [file_name|directory_location]  
Passive Mode (-PV or -PASV) -PASV
Port Mode (-PT or -PORT) -PORT
Private Key (-PKEY) -PKEY filename
Private Key Password (-KPASS) -KPASS password
Quantity (-QTY) -QTY number  
Site (-SITE) -SITE command_text
SSL Encryption Strength (-STR) -STR {WEAK|STRONG|ANY}
SSL Protocol (-SPROTO) -SPROTO {SSLv2|SSLv3|SSLv23|TLSv1}
Stage (-STG or -STAGE) -STAGE [file_name]  
Success (-S or -SUCCESS) -SUCCESS error_code[:error_code...]
System (-SYS) -SYS {WIN32|UNIX|UNKNOWN}
Trace (-T or -TRACE) -T[E][+][S|V] [full_path]
Timeout (-TIMEOUT) -TIMEOUT (nnn)