How do I enable FTP access to my VPS?

We recommend our customers to use SCP/SFTP when they need to transfer files from/to their VPS accounts. But sometimes it is necessary to allow certain users to have FTP access.

You need to install the FTP server. You can do this with the following commands:

(instructions valid for Cent OS based VPS) Install DAG RPM repository if not installed already:

$ rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Install proftpd:

$ yum install proftpd
$ service proftpd start
$ chkconfig proftpd on

On Ubuntu:

apt-get install proftpd During the install process, you will have to configure the ServerType as Standalone

These commands will install the software, start the server and make sure the server is started at boot time.

Once this is complete, your VPS users will have FTP access without any additional configurations required.

If you need to make configuration changes to the FTP server, the configuration file is located in /etc/proftpd.conf

For more information about proftpd, visit their documentation section.

For information on how to restrict users got to this Article