⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 本文件为Web-FTP的实现源代码 是cgi编程 使用perl为主 本软件适用于linux下
💻
字号:
If you don't have it already, get a recent version of the Perl programminglanguage. 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=libnetMove 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 onlyconect to that single host. This is useful for secure connectionsto your web site.        2. If you do not specify FTPhost in the web-ftp.conf fileusers will be allowed to type in a host of their own, thus turningweb-ftp into a web based ftp client. This is very useful if youare behind a firewall that allows http but blocks ftp.The only thing you may be required to edit in web-ftp.cgi is theperl command call at the first line of the script. Currently it is#!/usr/bin/perlIf 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 simplychange this line appropriately.If you would like to use the compiled C Session cgi, which should improve speed and lower system load, you may either try to usethe compiled version included (It is very simple C and shouldwork on most Intel/AMD systems, I hope). Otherwise you may compile your own. Try gcc web-ftp.c -o web-ftpc.cgi or cc web-ftp.c -o web-ftpc.cgiOn Solaris I had to use:gcc -lnsl -lsocket web-ftp.c -o web-ftpc.cgiLater on there may be a more sophisticated system for compiling andsuch, but for now, consider this experimental :)Once you have a web-ftpc.cgi that works (or whatever you choose to nameit) alter the web-ftp.conf file to use MainCGI=web-ftpc.cgithis will cause web-ftp to use the c version for all connectionsother than the log in screen.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -