Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 4fcc6602055ee420e6df832e2cc66209 > files > 2

Web-FTP-1.5.2-1mdk.noarch.rpm

If you don't have it already, get a recent version of the Perl programming
language. Then go to your nearest CPAN mirror and get the Net::FTP module.
Net::FTP is in Graham Barr's libnet bundle, which can be found here 
(hopefully): 
http://search.cpan.org/search?mode=module&query=libnet

Move web-ftp.cgi, MiniServer.pm, web-ftp.conf, and WebFTPPages.pm to your 
cgi-bin directory. 

There are two ways Web-FTP may be run. 
        1. Specify a host in web-ftp.conf, and web-ftp will only
conect to that single host. This is useful for secure connections
to your web site.

        2. If you do not specify FTPhost in the web-ftp.conf file
users will be allowed to type in a host of their own, thus turning
web-ftp into a web based ftp client. This is very useful if you
are behind a firewall that allows http but blocks ftp.

The only thing you may be required to edit in web-ftp.cgi is the
perl command call at the first line of the script. Currently it is
#!/usr/bin/perl
If your perl is in a different directory (e.g. /usr/local/bin/perl)
or goes by a different name (e.g. /usr/bin/perl5.6) then simply
change this line appropriately.