By Bozzified
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/
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Make a backup copy of your current configuration:
cp /etc/proftpd/proftpd.conf /usr/local/src/proftpd.conf
Delete your existing configuration file:
rm /etc/proftpd/proftpd.conf
Then grab the modified version from here, use nano to create a new configuration file, and paste the raw contents of the PasteBin in…
nano /etc/proftpd/proftpd.conf
Save, exit, and restart proftpd:
sudo service proftpd restart
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:
/home/example
as well as a few directories and files:
/home/example/htdocs/public
/home/example/htdocs/public/index.php
/home/example/htdocs/public/about.php
You’ll need to make sure example owns from /home/example down. This is done by running:
sudo chown -R example:example /home/example
You’d just need to sub in your actual usernames in place of example.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.