IBM AS/400e Computer Hardware User Manual


 
Sample Scenario for Anonymous FTP
The following display shows an anonymous FTP logon sequence. It also shows the
server reply that is returned when you attempt an operation that is restricted by the
FTP request validation exit program.
Workstation Gateway Server (WSG) Exit Point
There is one AS/400 exit point for workstation gateway server (WSG):
QIBM_QTMT_WSG workstation gateway server sign-on exit point.
The WSG exit point format is:
QAPP0100
The workstation gateway server sign-on exit point enables client browsers to call
applications directly without sending a user profile or password. This allows a client
browser to bypass the AS/400 sign-on display and to call specific applications
without requiring a sign-on. You can also use this exit point to control which user
profile is used for a Web browser.
When an exit program is added to the exit point, the exit program is called each
time there is an attempt to sign-on to the server. The exit program sets the Allow
operation output parameter to indicate whether or not the server is to continue the
sign-on operation. Also, different output parameters may be set to provide sign-on
information to the workstation gateway server. The WSG server then uses these
output parameters and performs the sign-on on behalf of the client browser.
Workstation Gateway Server Sign-on Exit Point Interface (QAPP0100)
Required Parameters
Here are the required parameters for the workstation gateway server exit point
interface (QAPP0100)
File Transfer Protocol
Previous FTP subcommands and messages:
Connecting to host sysnam01.city.company.com at address 9.130.42.106 using
21.
220-QTCP at sysnam01.city.company.com.
220 Connection will close if idle more than 5 minutes.
OS/400 is the remote operating system. The TCP/IP version is "V3R2M0"
> anonymous
331 Guest logon in process, send complete e-mail address as password.
230 Guest logon accepted, access restrictions apply.
250 Now using naming format "0".
257 "PUBLIC" is current library.
> cd qtcp
550 Request rejected.
Enter an FTP subcommand.
===> __________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
F3=Exit F6=Print F9=Retrieve
F17=Top F18=Bottom F21=CL command line
Appendix E. TCP/IP Application Exit Points and Programs
569