25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

comm<strong>and</strong> would receive an error when trying to open a connection to the<br />

indicated <strong>IP</strong> address <strong>and</strong> port. However, by using passive mode, the client<br />

initiates the connection from within the network, <strong>and</strong> the firewall allows the data<br />

transfer to proceed. Other methods exist to resolve problems when FTPing<br />

through a firewall, including proxy transfers (see 14.1.5, “Using proxy transfer” on<br />

page 522) <strong>and</strong> the use of EPSV (see 14.1.8, “Using FTP with <strong>IP</strong>v6” on<br />

page 525).<br />

14.1.5 Using proxy transfer<br />

FTP provides the ability for a client to have data transferred from one FTP server<br />

to another FTP server. Several justifications for such a transfer exist, including:<br />

► To transfer data from one host to another when direct access to the two hosts<br />

are not possible<br />

► To bypass a slow client connection<br />

► To bypass a firewall restriction<br />

► To reduce the amount of traffic within the client’s network<br />

The process of setting up a proxy transfer begins with the use of a proxy open<br />

comm<strong>and</strong>. Any FTP comm<strong>and</strong> can then be sent to the proxy server by preceding<br />

the comm<strong>and</strong> with proxy. For example, executing the dir comm<strong>and</strong> lists the files<br />

on the primary FTP server. Executing the proxy dir comm<strong>and</strong> lists the files on<br />

the proxy server. The proxy get <strong>and</strong> proxy put comm<strong>and</strong>s can then be used to<br />

transfer data between the two hosts. This process is illustrated in Figure 14-5 on<br />

page 523.<br />

522 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

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

Saved successfully!

Ooh no, something went wrong!