103 lines
6.4 KiB
HTML
103 lines
6.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="task" />
|
|
<meta name="DC.Title" content="Transfer files with File Transfer Protocol" />
|
|
<meta name="abstract" content="You can send and receive files with File Transfer Protocol (FTP)." />
|
|
<meta name="description" content="You can send and receive files with File Transfer Protocol (FTP)." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqclient.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqscenariotrans.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqclientsession.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqfrmt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqfrmt.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaiqtransftp" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Transfer files with File Transfer Protocol</title>
|
|
</head>
|
|
<body id="rzaiqtransftp"><a name="rzaiqtransftp"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Transfer files with File Transfer Protocol</h1>
|
|
<div><p>You can send and receive files with File Transfer Protocol (FTP).</p>
|
|
<div class="section">Follow these steps to transfer files with FTP.</div>
|
|
<ol><li class="stepexpand"><span>Collect the following information:</span> <ul><li>The TCP/IP name or IP address of the remote computer</li>
|
|
<li>A logon name and password for the remote computer (unless the remote computer
|
|
supports anonymous FTP)</li>
|
|
<li>The name and location of the file you want to transfer</li>
|
|
<li>The location of the destination</li>
|
|
<li>The file transfer type that you use: ASCII, EBCDIC, or BINARY</li>
|
|
<li>Whether you want to use a connection secured with Transport Layer Security
|
|
(TLS) or Secure Sockets Layer (SSL).</li>
|
|
</ul>
|
|
</li>
|
|
<li class="stepexpand"><span>At the command line, type <kbd class="userinput">FTP</kbd> and press
|
|
Enter.</span></li>
|
|
<li class="stepexpand"><span>At the prompt, enter the TCP/IP name or IP address of the remote
|
|
computer system and press Enter. You can use either the name or the IP address,
|
|
such as:</span> <p><samp class="codeph">remote.systemname.com</samp><br />
|
|
or<br />
|
|
<samp class="codeph">110.25.9.13</samp></p>
|
|
</li>
|
|
<li class="stepexpand"><span>Enter the Coded Character Set Identifier (CCSID). Use the default
|
|
(*DFT) value unless you know that you need a specific CCSID.</span></li>
|
|
<li class="stepexpand"><span>If you want to use a secure connection to protect passwords and
|
|
data, specify a Port value of *SECURE. </span></li>
|
|
<li class="stepexpand"><span>Press Enter to initiate the connection. The FTP client displays
|
|
messages that indicate a successful connection with the remote system.</span> <div class="note"><span class="notetitle">Note:</span> If you specify a port of *SECURE and the server does not support
|
|
implicit TLS or SSL on the specified port, or the TLS or SSL negotiation fails
|
|
for any reason, the connection is closed.</div>
|
|
</li>
|
|
<li class="stepexpand"><span>To change the file transfer type, complete the following steps: </span><ol type="a"><li><span>To switch to EBCDIC, enter <kbd class="userinput">EBCDIC</kbd> and
|
|
press Enter before you transfer the file.</span></li>
|
|
<li><span>To switch to BINARY, enter <kbd class="userinput">BINARY</kbd> and
|
|
press Enter before you transfer the file.</span></li>
|
|
<li><span>To switch back to the default type, ASCII, enter <kbd class="userinput">ASCII</kbd> and
|
|
press Enter before you transfer the file.</span></li>
|
|
</ol>
|
|
</li>
|
|
<li class="stepexpand"><span>Now you are ready to transfer files:</span><ol type="a"><li class="substepexpand"><span>Enter <kbd class="userinput">CD</kbd> and the name of the directory.
|
|
Press Enter.</span></li>
|
|
<li class="substepexpand"><span>Do one of the following steps:</span> <ul><li>To transfer a file from the server system to the client system, enter <kbd class="userinput">GET</kbd> followed
|
|
by the name of the file: <pre>GET myfile.txt</pre>
|
|
</li>
|
|
<li>To send a file that is on the client system to the server system, enter <kbd class="userinput">PUT</kbd> followed
|
|
by the name of the file: <pre>PUT myfile.txt</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
<li class="stepexpand"><span>Enter the FTP subcommand <kbd class="userinput">QUIT</kbd> to end the
|
|
FTP client session and return to the iSeries™ command line.</span></li>
|
|
</ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqrzaiqclient.htm" title="You can start and stop client sessions, transfer and receive files, as well as set up File Transfer Protocol (FTP) batch jobs.">Use the File Transfer Protocol client on iSeries server</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzaiqfrmt.htm" title="Before you begin to transfer files, you must choose the appropriate file transfer type.">Data transfer methods</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rzaiqrzaiqclientsession.htm" title="You can start and stop a client session from this topic.">Start and stop a client session</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="rzaiqscenariotrans.htm" title="To transfer a file to a test server, use basic File Transfer Protocol (FTP) to send the file to the remote host.">Scenario: Transfer a file from a remote host</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |