Last Updated By Compunuts
(Transferred from the wiki by Peter)
Assumption
Your server is running Ubuntu Linux distribution. You are also familiar with Terminal/CLI (command Line Interface).
Installing ProFTPd
Issue the following command at the terminal;
Code:
sudo apt-get install proftpd
When it’s done, your computer is ready to serve up pages to the users that have system account on your machine but NOT for anonymous users. So if you point to your server with your favorite browser such as Firefox, it should pop up a window for you to enter UserName and password for you to log onto. For example
ftp://x.x.x.x (Where X stands for actual IP number of your server)
Anonymous FTP?
The configuration file for ProFTPd is at /etc/proftpd.conf . So if you want to change it, you will need to open it with your favorite editor. For example;
Code:
sudo vi /etc/proftpd.conf
Look for the following area and uncomment the following entries. By "uncomment" means you need to remove the charactor "#" from the preceding options area.
Make that looks like the following.
Code:
###########################################
#
# Anonymous FTP
#
###########################################
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 100
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Now, if you point to the FTP server with your favorite browser, it should not ask you to log in. Instead, it should show you the contents of the FTP document folder (of /home/ftp/ ).
Documents’ folder?
Just transfer your documents that you want to serve to /home/ftp/ folder .
Happy FTP’ing …..
Bookmarks