Chapter 19: Setting Up an FTP Server

In This Chapter

  • Understanding FTP servers
  • Using the vsFTPd FTP server
  • Getting more information about FTP servers

File Transfer Protocol (FTP) has been the standard method for sharing files over the Internet for many years. Even with the popularity of the Web, which made document database services such as Gopher and WAIS obsolete, FTP servers are still the most common way to make directories of documents (especially large files) and software available to the public over the Internet.

File-sharing applications, such as NFS and Samba, are excellent tools for sharing files and directories over a private network. For organizations that need to share large numbers of files over public networks, however, FTP server software provides more robust tools for sharing files and protecting your computer systems. Also, FTP client software (for accessing FTP servers) is available for any type of computer that can access a network. Most Web browsers support FTP file downloads as well.

This chapter describes how to set up and maintain an FTP server using the Very Secure FTP Daemon package (vsFTPd).

Configuring your FTP server to enable users to upload files to it involves more risk than just allowing downloads. Anyone could upload a malicious file, overwrite other files, or, depending on the configuration, place a file in an undesired location. To help mitigate this risk, you can set up your server in a chrooted environment to limit access to the file system ...

Get Fedora® Bible 2011 Edition: Featuring Fedora® Linux® 14 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.