FTP

FTP allows to download but also and upload files from a server. Alternatively rcp the remote copy could be used.

Ftp servers

There are different ftp servers:

  1. Apacheoffers also a ftp module.

  2. emerge vsftpd to have a standalone ftp server can be installed by doing and is described in further detail.

Good is to choice for ftp is a program that gets maintained since ftp servers can be subjects for hackers.

Open and edit /etc/vsftpd/vsftpd.conf that holds the configuration.

It can either be standalone and watch incoming ftp requests (listen=Yes) or using xinetd for that (listen=No). Type man vsftpd.conf for help. There is a initscript rc-update add vsftpd default. Finally the directory shared by default and anonymous user is ~/ftp/ make sure the file system does also allow to access this directory. The use of FTP to make such a directory easily usable and visible but hide the rest of the computer with all unnecessary details for the up and download. In konqueror type ftp://192.168.1.34/ and you will see the contents of ~/ftp (assuming the correct IP address is given).

There is also a log file: /var/log/vsftpd.log

Ftp clients

To have a stand alone gui tool emerge gftp

add a firefox extension as FireFTP

Or simply type in ftp://<Uri> into a browser.


Linurs Servernest startpage