Make your own free website on Tripod.com
FTPex Installation
########################################################
#                     FTPex 0.9b2                      #
#               By Thomas Tsoi 05.8.99                 #
#                webmaster@cgi.com.hk                  #
########################################################
#                                                      #
# CGI.com.hk:                                          #
#   http://www.cgi.com.hk/                             #
#                                                      #
# #################################################### #
#                                                      #
# You can distribute this script and use it freely as  #
# long as this header is not edited in the script.     #
#                                                      #
########################################################
Installing FTPex is easy.
Follow the following steps, you shouldn't get big troubles.

1. Editing the path to Perl interpreter
- In the first line, you can see #!/usr/local/bin/perl, this is the location of the Perl interpreter, in most cases this needn't be changed. However if you are not sure what the location is, you can telnet to your server, type which perl and it will show you the path.

2. Editing options
The following are the options available in FTPex. Open FTPex.cgi and edit them with your favourite text editor.

$script
# URL to FTPex.cgi

$basedir
$baseurl
# Base absolute path and base URL, $basedir SHOULD point to $baseurl
# This is most likely your FTP root directory

# Paths to Header and Footer files
$header
$footer

$imagedir
# URL to images directory, relative or absolute
# e.g. "images", "/myftp/images", "http://mysite.com/myftp/images"

@filetypes
# File types which have their own icons, the images should be named [type].gif

$textviewer
# To enable internal text viewer, set to 1, or 0 otherwise

@texttypes
# File types which uses the internal text viewer

3. Setting permissions
Upload all the files. Set their permissions as shown below:

chmod 755 FTPex.cgi

chmod 644 header.txt
          footer.txt

[an error occurred while processing this directive] [an error occurred while processing this directive]


Copyright © 1999. All rights reserved.