So I followed the Proftpd guide and installed ProFTPD on my droplet.
I can connect no problem from SSH. However I can’t access FTP from an FTP client or a browser.
I understand that I should use SFTP and I’m using that but I need access via FTP for this droplet because certain software that needs to upload files to the server only works through FTP.
I have 3 domains on the droplet, one of which is bozzified.com I’m using forge as username and forge’s root password (Laravel Forge created this user to manage the servers).
What am I missing here? As I mentioned, SSH command line access works fine when I SSH into the droplet but not from browser.
Many thanks.
Here is the proftpd conf file:
######################################################
Include /etc/proftpd/modules.conf
UseIPv6 on
IdentLookups off
ServerName “bozzified.com” ServerType standalone DeferWelcome off
MultilineRFC2228 on DefaultServer on ShowSymlinks on
TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200
DisplayLogin welcome.msg DisplayChdir .message true ListOptions “-l”
DenyFilter *.*/
DefaultRoot ~
RequireValidShell off
Port 21
<IfModule mod_dynmasq.c>
</IfModule>
MaxInstances 30
User proftpd Group nogroup
Umask 022 022
AllowOverwrite on
AuthOrder mod_auth_pam.c* mod_auth_unix.c
TransferLog /var/log/proftpd/xferlog SystemLog /var/log/proftpd/proftpd.log
#UseLastlog on
#SetEnv TZ :/etc/localtime
<IfModule mod_quotatab.c> QuotaEngine off </IfModule>
<IfModule mod_ratio.c> Ratios off </IfModule>
<IfModule mod_delay.c> DelayEngine on </IfModule>
<IfModule mod_ctrls.c> ControlsEngine off ControlsMaxClients 2 ControlsLog /var/log/proftpd/controls.log ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock </IfModule>
<IfModule mod_ctrls_admin.c> AdminControlsEngine off </IfModule>
#Include /etc/proftpd/ldap.conf #Include /etc/proftpd/sql.conf
#Include /etc/proftpd/tls.conf
#Include /etc/proftpd/virtuals.conf
Include /etc/proftpd/conf.d/
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
@Bozzified
Make a backup copy of your current configuration:
Delete your existing configuration file:
Then grab the modified version from here, use
nano
to create a new configuration file, and paste the raw contents of the PasteBin in…Save, exit, and restart
proftpd
:You will need to make sure that each user owns their home directory as well as the directories and files below it.
For example, if we have a user
example
and a home directory of:as well as a few directories and files:
You’ll need to make sure
example
owns from/home/example
down. This is done by running:You’d just need to sub in your actual usernames in place of
example
.