IBM FTP Adapter manual Site -SITE, Number of files to be retrieved by the adapter

Page 25

Chapter 3 - FTP Commands

List of Commands

 

 

 

 

 

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 –QTYcommand option number to 'S' and specify "-LSN 0"

on the command line. The –LSNcommand is currently unsupported, however, it must be used in conjunction with the –QTYcommand 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.

-SITEcommand_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 -SITEis executed prior to the files being transferred.

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

2 5

Image 25
Contents FTP Adapter Reference Guide Document History Part Product Version Published Number Contents Troubleshooting Related References About This DocumentOverview FTP AdapterSystem Requirements About Sockets Access to International VANsIAaliascardnum OAaliascardnum Command AliasList of Commands FTP CommandsLSsorttype Audit -A or -AUDIT Account -AC or -ACCTCertificate Authority -CA Client Certificate Password -CPASSClient 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 Port Mode -PT or -PORT Passive Mode -PV or -PASVMake Directory -MKD Private Key -PKEY Private Key Password -KPASSQuantity -QTY Number of files to be retrieved by the adapter Site -SITESSL Protocol -SPROTO SSL Encryption Strength -STRStage -STG or -STAGE WIN32 System -SYSTrace -T or -TRACE Data Sources Syntax SummaryData Targets URL Syntax Using FTP Adapter CommandsExamples 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