IBM FTP Adapter manual Site -SITE, FTP Commands, List of Commands, Option, Description, number

Models: FTP Adapter

1 40
Download 40 pages 12.42 Kb
Page 25
Image 25
Option

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

Page 25
Image 25
IBM FTP Adapter manual Site -SITE, FTP Commands, List of Commands, Option, Description, number, SITE ‘commandtext’