Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

CHAPTER 34


Remote File Serving with FTP


IN THIS CHAPTER


Choosing    an  FTP Server
Installing FTP Software
The FTP User
Configuring the Very Secure FTP Server
Using the ftphosts File to Allow or Deny FTP Server Connection
References

File Transfer Protocol (FTP) was once the primary method used to transfer


files over a network from computer to computer. FTP is still heavily used
today, although many graphical FTP clients now supplement the original text-
based interface command. As computers have evolved, FTP has become less
popular, but it can still be found here and there.


This chapter contains an overview of FTP, along with some details concerning
initial setup, configuration, and use of FTP-specific clients.


Choosing an FTP Server


FTP uses a client/server model. As a client, FTP accesses a server, and as a
server, FTP provides access to files or storage. Just about every computer
platform available has software written to enable a computer to act as an FTP
server, but Ubuntu provides the average user with the capability to do this
without paying hefty licensing fees and without regard for client usage
limitations.


There are two types of FTP servers and access: anonymous and standard. A
standard FTP server requires an account name and password from anyone
trying to access the server. Anonymous servers allow anyone to connect to the

Free download pdf