ftp2html

NAME

ftp2html

SYNOPSIS

ftp2html

DESCRIPTION

ftp2html is a tool that was developed to give out the directory that was accessed by anonymous ftp. To use ftp2html specify it in execution handler. For example,
# path	mimetype	hctl	execpath arg ...
/netlib/*/index.html text/html 0 /bin/ftp2html
The regular location of “ftp2html” is /usr/web/bin/rc.
Note that you need “chmod 775 ftp2html”.

ftp2html shows “README” if exists in the directory requested from client, and in addition ftp2html shows “INDEX” if exists. If “INDEX” is absent, ftp2html shows list of files and directory.

FORMAT OF INDEX

name
	content
	...
name
	content
	...
...
where “name” is a file name or subdirectory name. In case of directory name, the name must end with “/”.
"content" is shown as it is.

PREREQUISITE

rc , text2html
and some logos.

SOURCE

http://plan9.aichi-u.ac.jp/netlib/webappls/