Creating public ftp on XAMPP at ubuntu linux

If you want to use ftp://localhost anonymously e.g. without any user and password on your xampp server at ubuntu or linux mint distro then please follow the steps below.



1. Enter the command to edit:

sudo nano /opt/lampp/etc/proftpd.conf

2. Copy the following scripts and paste into bottom of that file –

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /home/user/Downloads>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with “anonymous” as well as “ftp”
  UserAlias                     anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients                    10

  # We want ‘welcome.msg’ displayed at login, and ‘.message’ displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
#  DisplayFirstChdir            .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>

3. Save the file and start the xampp server

Similar Posts