IBM FTP Adapter manual Account -AC or -ACCT, Audit -A or -AUDIT

Page 11

Chapter 3 - FTP Commands

List of Commands

Account (-AC or -ACCT)

If required for logon, use the Account adapter command (-ACor -ACCT) to specify

the account for connecting to an FTP server. If the account is required for logon, account_id must be specified.

-ACCTaccount_id

OptionDescription

account_id

Specify the account for connecting to an FTP server.

Audit (-A or -AUDIT)

Use the Audit adapter command (-Aor -AUDIT) to produce a log file in the map

directory where the adapter is installed with the default name m4ftp.log. The log file records audit information detailing files sent or received from each host, elapsed time, file size, and retry count for each file.

-AUDIT[+][S] [full_path]

Option

Description

+

Append audit information to the existing log file. If a

 

log file does not exist, one is created.

 

 

S

Summary mode. Record only minimal information in

 

the log file.

full_path

Create audit file with the specified name in the

 

specified directory. By default, the directory is where

 

the map is located and the file name is m4ftp.log.

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 1

Image 11
Contents FTP Adapter Reference Guide Document History Part Product Version Published Number Contents Troubleshooting Related References About This DocumentSystem Requirements FTP AdapterOverview About Sockets Access to International VANsIAaliascardnum OAaliascardnum Command AliasList of Commands FTP CommandsLSsorttype Audit -A or -AUDIT Account -AC or -ACCTClient Certificate -CERT Client Certificate Password -CPASSCertificate Authority -CA 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 Make Directory -MKD Passive Mode -PV or -PASVPort Mode -PT or -PORT Quantity -QTY Private Key Password -KPASSPrivate Key -PKEY Number of files to be retrieved by the adapter Site -SITEStage -STG or -STAGE SSL Encryption Strength -STRSSL Protocol -SPROTO WIN32 System -SYSTrace -T or -TRACE Data Sources Syntax SummaryData Targets Examples Using FTP Adapter CommandsURL Syntax 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