How to access localhost using XAMPP with Filezilla on Mac OS X

filezillaosx-el-capitanproftpdxampp

I successfully installed XAMPP on Mac OS X EL Capitan Version 10.11.1. Apache Server, ProFTPD and MySQL Database are running.

I followed XAMPP's How-to-guide to transfer files via the proFTPD server / configure FTP access, so I can also use a FTP client like Filezilla to access the htdocs/ subdirectory of the XAMPP installation directory.

As I'm the only user, I didn't create a group. I did however chown and chmod the directory so it is writeable and I'm the owner.

Host address: 127.0.0.1

Port 21

username = My Macbook account username (= the one shown to me when I use whoami using Terminal)

password = My Macbook account password

No typo. Everything appears to be correct. But I'm not able to connect.

Status: Connecting to 127.0.0.1:21...

Status: Connection established, waiting for welcome message...

Response: 220 ProFTPD 1.3.4c Server (ProFTPD) [::ffff:127.0.0.1]

Command: USER ******

Response: 331 Password required for ******

Command: PASS **********

Response: 530 Login incorrect.

Error: Critical error: Could not connect to server

When I enable remote access and then use FileZilla and SFTP, hostname also localhost, my username and password are accepted just fine. But in this case I can't see the htdocs folder at all. There's no /Applications/XAMPP/xamppfiles/htdocs/ directory to be found.

Is there something on Mac OS X EL Capitan that prevents access?

Best Answer

Thanks to all for helping.

Editing the proftpd.conf file did not work nor did work following the steps listed in the how-to-guides that asks you to use Terminal to chown and chmod files.

That's what did work for me in the end:

Enable Remote Login for Mac user profile

Don't use FTP and Port 21, but only SFTP and Port 22

Use Mac username and password, Hostname is 127.0.0.1

In the Advanced Tab of Filezilla's Site Manager set Default Remote Directory to /Applications/XAMPP/xamppfiles/htdocs

The last step did the trick as before I only saw the Applications folder within my username folder but no way to access the main Applications folder.