1
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?
Since you are using port 21, check to make sure your port is open while running XAMP. There are online pages that check open ports if you don't have a tool for that. Also for FileZilla, make sure you are using the correct port and manually set it. Also make sure that you have port forwarding set up in your router.This may seem redundant, but you didn't tell us this in your question. – ejbytes – 2016-08-07T11:45:35.727
Did you setup your config in /Applications/XAMPP/etc/proftpd.conf. As stated here? http://www.kometschuh.de/XAMPPFTPConfigurtionMacOSX.html
– mt025 – 2016-08-07T11:54:40.290@mt025: I did update the proftod.conf file as well. – Croco2511 – 2016-08-07T12:10:46.107
Addition: 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. – Croco2511 – 2016-08-07T12:14:36.910
"password = My Macbook account password" Are you sure ProFTPD knows your account's password? (Unlike Apple's built-in remote access, I'd expect that ProFTPD should not be able to get the password from the OS itself, so hopefully you should tell it your password if you want to use the same one.) – Arjan – 2016-08-07T12:41:36.627
@Arjan That's why I edited the proftpd.conf file and added my password there. I don't know where else I should add the password. – Croco2511 – 2016-08-07T14:06:23.880