100 lines
7.1 KiB
HTML
100 lines
7.1 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="reference" />
|
|
<meta name="DC.Title" content="Write exit programs for anonymous File Transfer Protocol" />
|
|
<meta name="abstract" content="To use anonymous File Transfer Protocol (FTP), you need to write two exit programs: FTP Server Logon exit program and FTP Server Request Validation exit program." />
|
|
<meta name="description" content="To use anonymous File Transfer Protocol (FTP), you need to write two exit programs: FTP Server Logon exit program and FTP Server Request Validation exit program." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqftpanon.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqreq.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqanopro.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqreferenceexit.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqlepi.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqsvreqep.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="rzaiqextprog" />
|
|
<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>Write exit programs for anonymous File Transfer Protocol</title>
|
|
</head>
|
|
<body id="rzaiqextprog"><a name="rzaiqextprog"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Write exit programs for anonymous File Transfer Protocol</h1>
|
|
<div><p>To use anonymous File Transfer Protocol (FTP), you need to write
|
|
two exit programs: FTP Server Logon exit program and FTP Server Request Validation
|
|
exit program.</p>
|
|
<div class="section"><p>The FTP Server Logon exit program enables the ANONYMOUS user ID
|
|
and forces the ANONYMOUS user to the public library or directory. The FTP
|
|
Server Request Validation exit program restricts the commands, files, and
|
|
directories or libraries that the ANONYMOUS user can use.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Exit points and exit point formats</h4><p>The FTP server
|
|
communicates with each exit program through a specific exit point. Parameters
|
|
are passed between the server and the exit program. The format of the exchanged
|
|
information is specified by an exit point format.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="33.22147651006711%" id="d0e33">Program</th>
|
|
<th valign="top" width="33.22147651006711%" id="d0e35">Exit Point</th>
|
|
<th valign="top" width="33.557046979865774%" id="d0e37">Format</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" width="33.22147651006711%" headers="d0e33 ">Server logon</td>
|
|
<td valign="top" width="33.22147651006711%" headers="d0e35 ">QIBM_QTMF_SVR_LOGON</td>
|
|
<td valign="top" width="33.557046979865774%" headers="d0e37 ">TCPL0100, TCPL0200, or TCPL0300. <sup>1</sup></td>
|
|
</tr>
|
|
<tr><td valign="top" width="33.22147651006711%" headers="d0e33 ">Request validation</td>
|
|
<td valign="top" width="33.22147651006711%" headers="d0e35 ">QIBM_QTMF_SERVER_REQ</td>
|
|
<td valign="top" width="33.557046979865774%" headers="d0e37 ">VLRQ0100</td>
|
|
</tr>
|
|
<tr><td colspan="3" valign="top" headers="d0e33 d0e35 d0e37 "><dl><dt class="dlterm"><sup>1</sup></dt>
|
|
<dd>An exit point might have more than one format, but an exit program can
|
|
only be registered for one of the exit point formats. Examine each of these
|
|
formats, then choose the one most appropriate for your system.</dd>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Example programs</h4><p>Example programs are available
|
|
to help you set up anonymous FTP on your server. You can use these samples
|
|
as a starting point to build your own programs. By copying portions of the
|
|
code from the samples, you can add them to programs that you write yourself.
|
|
It is recommended that you run the sample programs on a system other than
|
|
your production system.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> These examples are for illustration purposes
|
|
only. They do not contain enough features to run on a production machine as
|
|
is. Feel free to use them as a starting point, or to use sections of code
|
|
as you write your own programs.</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqftpanon.htm" title="Anonymous File Transfer Protocol (FTP) enables remote users to use the FTP server without an assigned user ID and password.">Configure anonymous File Transfer Protocol</a></div>
|
|
<div class="previouslink"><strong>Previous topic:</strong> <a href="rzaiqreq.htm" title="You might need to know how to set up your anonymous File Transfer Protocol (FTP) and ensure the security of your FTP.">Prepare for anonymous File Transfer Protocol</a></div>
|
|
<div class="nextlink"><strong>Next topic:</strong> <a href="rzaiqanopro.htm" title="To prevent anyone from directly signing on to the iSeries server with the user profile ANONYMOUS, you need to create a user profile of ANONYMOUS and assign it a password of *NONE.">Create an i5/OS user profile: ANONYMOUS</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzaiqsvreqep.htm" title="The Request Validation exit points can be used to restrict operations which can be performed by FTP users. Request validation exit points are provided by both the FTP client and server; to restrict both FTP client and FTP server access, exit programs must be added to both exit points.">Request validation exit point: Client and server</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rzaiqreferenceexit.htm" title="You can use File Transfer Protocol (FTP) exit programs to secure FTP. The FTP server communicates with each exit program through a specific exit point. This topic includes parameter descriptions and code examples.">File Transfer Protocol exit programs</a></div>
|
|
<div><a href="rzaiqlepi.htm" title="You can control the authentication of users to a TCP/IP application server with the TCP/IP Application Server Logon exit point.">Server logon exit point</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |