After restoring FTP server in High Sierra, how to log in to localhost? I followed the instructions here https://apple.stackexchange.com/a/312273/72004 to get an FTP server running on High Sierra. But when I log in to localhost, it doesn't recognize me as a user.

% ftp localhost
Trying ::1...
Connected to localhost.
220 ::1 FTP server (tnftpd 20100324) ready.
Name (localhost:[my username]): [my username]
530 Login incorrect.
ftp: Login failed


What gives? How can I restore myself as an FTP user? Thanks!
I finally solved my problem.

#set file ownership so we can update WP
#https://www.fetchdesigns.com/blog/failed-to-connect-to-ftp-server-localhost21-wordpress-on-mac/
sudo dseditgroup -o edit -a &lt;your username&gt; -t user _www
sudo chown -R _www:_www &lt;path_to_wordpress&gt;
sudo chmod -R g+w &lt;path_to_wordpress&gt;

sudo chmod 777 .htaccess
sudo chmod 755 &lt;path_to_wordpress&gt;/wp-content/uploads


Hope this helps someone else.