home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ftpdc2.zip
/
ftpdc2.doc
< prev
Wrap
Text File
|
1994-08-12
|
2KB
|
74 lines
FTPDC2 By Albert Crosby
=======================
FTPDC2 is a wrapper for OS/2's FTPDC that allows you to display a welcome
message and to limit the number of incoming FTP sessions to your host.
Requirements:
-------------
* IBM's TCPIP for OS/2 version 1.2.1 or later
* OS/2 version 2.0 or later
* RxSock
* RxUtil (YDBAUTIL)
The last two portions are available from most OS/2 ftp archives.
What it CANNOT do:
------------------
FTPDC2 cannot tell you detailed information about incoming FTP sessions.
I also do not know of anyway to have the FTPDC generate trace files for
your incoming FTP sessions. You cannot have different limits for
different users. You can, however, modify the code so that you can have
different user limits for different times of day.
Installation:
-------------
Install RxSock and RxUtil according to their instructions.
Place FTPDC2.CMD in your TCPIP/BIN directory.
Edit INETD.LST in your TCPIP/ETC directory, and change the line:
ftp tcp ftpdc
to:
ftp tcp ftpdc2
Customization
-------------
The FTPDC2.CMD included with this archive
FTPDC2 is customized for MY site. You will need to do a lot of
customization to make it reflect your preferences.
There are two kinds of messages available: 200- messages and 500-
messages. 200- messages should be informative messages. 500- messages
should be sent before refusing a connection.
There are two REXX procedures to deal with messages:
send for 200- messages
send500 for 500- messages
Use:
Call Send "This is a 200 message"
or
Call Send500 "This is a 500 message"
to send a message.
The variable MAXUSERS sets the user limit. You could change the simple
set statement to a computation based on the time of day.
Enjoy, and feel free to change this file as you see fit.
Albert