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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Transferring Files Using FTP<br />

The NETRC DATA File<br />

The FTP DATA File<br />

The NETRC DATA file provides an alternative to responding to FTP prompts for<br />

logon information when you connect to a foreign host. When a user name and<br />

password for a specific host are defined in this file, FTP will use those values<br />

instead of prompting for this information.<br />

When the FTP command or the OPEN subcommand is issued, FTP will search the<br />

NETRC DATA file for the first valid match on the specified host. If found, that<br />

host’s user name and password will be used when a connection to that host is<br />

attempted. If no match is found for the host in question, you will be prompted for<br />

a user name and password, unless the NOPROMPT option has been specified.<br />

For more information on the NETRC DATA File and how it may be used for other<br />

applications, see Appendix B, “Using the NETRC DATA File” on page 293.<br />

The FTP DATA configuration file defines operational characteristics that affect FTP<br />

connections and DBCS data translation.<br />

A sample FTP data file is provided as FTP SDATA on the <strong>TCP</strong>MAINT 592 disk.<br />

Notes:<br />

1. If the TIMEOUT operand is specified upon invocation of the FTP command, its<br />

corresponding value overrides all timing values specified within the FTP DATA<br />

file. However, if the TIMEOUT-specified value is not valid, the default timing<br />

values identified in the next section are used.<br />

2. When DBCS file transfers are performed, both the remote FTP server and the<br />

local client must have the appropriate translate tables loaded.<br />

Statement Syntax<br />

Within FTP DATA, blanks and record boundaries are used to delimit tokens. All<br />

characters to the right of (and including) a semicolon are treated as comments.<br />

FTP DATA File Statements<br />

Configuration statements that can be specified in the FTP DATA file are described<br />

in this section.<br />

Chapter 2. Transferring Files Using FTP 19

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

Saved successfully!

Ooh no, something went wrong!