Logo address

ftp2html

目次

2002/08/30

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.

Usage

In $web/etc/handler we write like this:
# path	mimetype	unused	execpath arg ...
/netlib/*/index.html text/html 0 /bin/ftp2html

Description

ftp2html shows README if it exist in the directory requested from client, and in addition ftp2html shows INDEX if it exist. 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.