Home arrow Site Administration arrow Page 9 - Professional File Transfer with proFTPD

Getting Virtual - Administration

Need to set up an FTP server on your network to simplify file transfer between users or hosts? Look no further than the robust, secure and very free proFTPD server, which has everything you need to get up and running in a jiffy. This article covers installing and configuring proFTPD for both regular and anonymous FTP, and also explains how to customize the operation of the server for different requirements.

TABLE OF CONTENTS:
  1. Professional File Transfer with proFTPD
  2. The Sales Pitch
  3. Source Control
  4. Start Me Up
  5. Going Home
  6. Signed, Anonymous
  7. Giving Back
  8. Timberrrrrrrrr!
  9. Getting Virtual
  10. Passing Messages
  11. Ending On A High Note
By: Vikram Vaswani, (c) Melonfire
Rating: starstarstarstarstar / 26
May 14, 2003

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
proFTPD also comes with built-in support for so-called "virtual FTP", which comes in handy if you want to provide FTP service on multiple interfaces, IP addresses or ports on the same physical machine. proFTPD's <VirtualHost>...</VirtualHost> block allows you to specify different configuration options for each IP address, or to have the FTP server service connections on different ports on the same machine.

Typically, you can use most of the same directives inside a <VirtualHost>...</VirtualHost> block that you would use outside it (although there are a few restrictions). This allows you to configure and customize each virtual host separately - as the following example illustrates:
<VirtualHost 192.168.0.77>
# set server parameters
ServerName "Olympus"
ServerAdmin "admin@some.other.localnet.com"
Port 22
# set default umask
Umask 022
# set the user and group for the server process
User nobody
Group nobody
# jail users to their home areas
DefaultRoot ~
# set root directory for anonymous users to /home/ftp
<Anonymous /home/hosts/olympus/ftp>
# set the user and group for the server process
User ftp
Group ftp
# alias "anonymous" login to "ftp"
UserAlias anonymous ftp
# restrict "anonymous" users from writing data
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
</VirtualHost>
The code block above tells proFTPD to listen for connections on port 22 of the interface identified by IP address 192.168.0.77. Anonymous FTP is enabled for this virtual host, though users are not permitted to upload files, and regular system users are automatically jailed to their home areas.

 
 
>>> More Site Administration Articles          >>> More By Vikram Vaswani, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: