IBM FTP Adapter manual FTP Commands, List of Commands

Page 9

Chapter 3 - FTP Commands

This chapter describes the functions and use of the FTP commands and their options.

List of 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

-ACCTaccount_id

 

 

 

 

Audit

-AUDIT[+][S] [full_path]

 

 

 

 

Certificate Authority

-CAfilename

 

Note Only available if Security Option is

 

 

 

installed.

 

 

 

 

 

 

Client Certificate

-CERTfilename

 

Note Only available if Security Option is

 

 

 

installed.

 

 

 

 

 

 

Client Certificate Password

Code Page Local

(OS/390, z/OS only)

Code Page Remote

(OS/390, z/OS only)

-CPASSpassword

Note Only available if Security Option is installed.

-CPLcode_page_name

-CPRcode_page_name

Firewall Connection

-FIREWALLFTP://firewall_URL

Method URL

 

 

 

FTP URL

-URL FTP://ftp_URL

 

 

 

 

Ignore

-IGNOREerror_code[:error_code…]

 

 

 

 

F T P A d a p t e r R e f e r e n c e G u i d e

9

Image 9
Contents FTP Adapter Reference Guide Document History Part Product Version Published Number Contents Troubleshooting Related References About This DocumentFTP Adapter OverviewSystem Requirements About Sockets Access to International VANsIAaliascardnum OAaliascardnum Command AliasList of Commands FTP CommandsLSsorttype Audit -A or -AUDIT Account -AC or -ACCTClient Certificate Password -CPASS Certificate Authority -CAClient Certificate -CERT Code Page Remote -CPR Code Page Local -CPLOpen Site Transparent User Userfw Userfwpass Firewall Connection Method URL -FW or -FIREWALLFtpuser, Pass ftppass Adapter Behavior when -FIREWALL Command PresentOpen Userlogon or User URL SyntaxTokens Replaced with FTP URL -URL Ftpext-m1st-02.txt Keep Server -KS Ignore -I or -IGNOREList Option -LS Passive Mode -PV or -PASV Port Mode -PT or -PORTMake Directory -MKD Private Key Password -KPASS Private Key -PKEYQuantity -QTY Number of files to be retrieved by the adapter Site -SITESSL Encryption Strength -STR SSL Protocol -SPROTOStage -STG or -STAGE WIN32 System -SYSTrace -T or -TRACE Data Sources Syntax SummaryData Targets Using FTP Adapter Commands URL SyntaxExamples Syntax Summary URL Syntax URL Encoding Adapter Audit Log TroubleshootingSample FTP Adapter Trace File Adapter Trace FileTroubleshooting Adapter Trace File Messages Appendix a Return Codes and Error MessagesAppendix a Return Codes and Error Messages Index Index