An FTP Gateway, with support for remote proxies. It keeps connections alive to the ftp sites, for improved speed. Soon it will utilize the disk cache system.

Variables

Connection timeout
The time in seconds that a connection to a ftp server is kept, after the last usage of it. When the time is up, the connection is closed.

Data connection timeout
Time in seconds before a data connection is timeouted and cancelled.

FTP transfer method
The method used to transfer files. Both should work, but if you have a problem with a site, try switching method.

Hold until response
Hold data transfer until response from server; if the server sends file size, size will be sent to the http client. This may slow down access some, but not noticable.

Icons
If set, icons are use in the directory listings
Location
This is the location in the virtual filesystem, and the default value is ftp:/. If set to anything else, all normal WWW-clients will fail using it.

One special case is /ftp:/. If you set this location, a link formed like this: <a href="/ftp:/localftp/foo">myftpserver</a> will enable accesses to local FTP-servers through a firewall.

Logfile
This is the file name of the logfile. If left empty, no logging will take place.

Port timeout
How long time in seconds a dataport is kept open without usage, before it's closed. This is only used if dataports are saved.

Remote gateway regular expressions
Here you can add redirects to remote gateways. If a file is requested from a host matching a pattern, the gateway will query the Ftp gateway server at the host and port specified. Hopefully, that gateway will then connect to the remote ftp server. Currently, remote gateway has to be a http-ftp gateway like this one.

Example:

# All hosts inside *.rydnet.lysator.liu.se has to be
# accessed through lysator.liu.se
.*\.rydnet\.lysator\.liu\.se        130.236.253.11  21
Please note that this must be Regular Expressions.

Save dataports
Some ftpd's have problems when the same port is reused. Try this out on your own. :)