27.11.2014 Views

z/VM: TCP/IP User's Guide - z/VM - IBM

z/VM: TCP/IP User's Guide - z/VM - IBM

z/VM: TCP/IP User's Guide - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2. Transferring Files Using FTP<br />

This chapter describes how to use the File Transfer Protocol (FTP) command and<br />

its subcommands to transfer files between your local host and a foreign <strong>TCP</strong>/<strong>IP</strong><br />

host. The FTP command and its subcommands, allow you to sequentially access<br />

multiple foreign hosts without leaving the FTP environment.<br />

When FTP commands are used with a non-z/<strong>VM</strong> foreign host, you may need to<br />

consult documentation specific to that host and its operating system for<br />

information about file naming and supported FTP commands and parameters.<br />

The following table lists general operations and FTP subcommands that correspond<br />

to these functions:<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

Table 2. FTP and Subcommand Functions<br />

FUNCTION<br />

SUBCOMMANDS<br />

Establish a connection and identify yourself to ACCT OPEN USER NETRC PASS<br />

a foreign host’s FTP server<br />

Obtain status information about FTP on the DEBUG NOOP STATUS<br />

foreign host<br />

SYSTEM<br />

List or work with directories belonging to the<br />

foreign host<br />

CD or CWD CDUP<br />

LS<br />

DIR MKDIR RMDIR<br />

PWD<br />

List or work with directories on the local host LCD LPWD<br />

Prepare the environment prior to transferring<br />

files<br />

Transfer Parameter Commands<br />

HANGEUL JIS78KJ<br />

KSC5601<br />

TCHINESE<br />

ASCII EBCDIC<br />

BINARY MODE<br />

PORT PASSIVE<br />

Perform Special Function QUOTE SITE<br />

Work with and transfer files to and from the<br />

foreign host<br />

APPEND GET PUT<br />

EUCKANJI<br />

<strong>IBM</strong>KANJI JIS83KJ<br />

LOCSITE SIZE<br />

SJISKANJI<br />

SUNIQUE TYPE<br />

SENDPORT<br />

SENDSITE STRUCT<br />

DELIMIT MGET<br />

MPUT<br />

Delete or rename files on the foreign host DELETE RENAME MDELETE<br />

Communicate with the underlying operating CMS<br />

systems<br />

Obtain help about FTP and its subcommands HELP<br />

© Copyright <strong>IBM</strong> Corp. 1987, 2002 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!