5.6.12 SITE

The SITE command allows special FTP server command execution by supplying host-dependent parameters to the remote FTP Server.

Syntax:

Command

Keyword

Value

Developer notes

SITE

COMMAND

command

Required. The command string to be executed.

 

For example, if your remote FTP server is an IBM i you might issue a NAMEFMT command to set the file location inside your remote session.

Setting NAMEFMT to 1 indicates to identify files in all IFS file locations, so all files and paths must be written in IFS notation (e.g. /home/dir).

Setting NAMEFMT to 0 indicates files are to be copied to and from the QSYS.LIB file system using a naming format library/file.member.

Example

SITE COMMAND(NAMEFMT 1)