Administration
  Home arrow Administration arrow Page 4 - Professional File Transfer with proFTP...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

Professional File Transfer with proFTPD
By: Vikram Vaswani, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 25
    2003-05-14

    Table of Contents:
  • Professional File Transfer with proFTPD
  • The Sales Pitch
  • Source Control
  • Start Me Up
  • Going Home
  • Signed, Anonymous
  • Giving Back
  • Timberrrrrrrrr!
  • Getting Virtual
  • Passing Messages
  • Ending On A High Note

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Professional File Transfer with proFTPD - Start Me Up
    (Page 4 of 11 )

    Unlike its competitors, some of which require four or more configuration files, proFTPd is controlled via a single configuration file, usually located in "/usr/local/ftpd/etc/proftpd.conf". Pop open this file, and put the following lines of code into it:
    # set server parameters
    ServerName "ProFTPD"
    ServerAdmin "admin@localnet.com"
    ServerType standalone
    Port 21
    # set default umask
    Umask 022
    # set the user and group for the server process
    User nobody
    Group nobody
    
    If you've ever used the Apache Web server, you'll notice a marked similarity between the configuration file above and Apache's "httpd.conf" file. This is no accident - proFTPD was inspired by the Apache approach, and uses a similar directive-based technique to configure the server.

    Most of the directives above should be fairly self-explanatory - the ServerName directive sets the name of the server (as displayed to connecting users), the ServerAdmin directive sets the email address of the server's administrator and the Port directive sets the port the server will run on. The ServerType directive specifies whether the server is active at all times, or whether it is awakened on demand from the "inetd" daemon. The User and Group directives set the user and group owning the server process, while the Umask directive sets the file mask for files and directories created by FTP users.

    With the configuration completed, how about starting the server and playing with it a little?
    $ /usr/local/ftpd/sbin/proftpd
    
    If all goes well, proFTPd should start up and run in the background as a daemon.

    You can verify this by checking the list of running processes:
    $ ps ax | grep proftpd
    28429 ?        S      0:00 proftpd: (accepting connections)
    
    You can also test if the daemon is, in fact, running by a quick telnet to port 21 (the default FTP port) - you should see something like this:
    $ telnet localhost 21
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 ProFTPD 1.2.8 Server (ProFTPD) [olympus.melonfire.com]
    telnet> quit
    Connection closed.
    
    Now, how about logging in and messing around a bit?

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


     

       

    ADMINISTRATION ARTICLES

    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway