Best way to give a user access to 1 domain

I just cannot seem to get ftp working and not sure what I am doing wrong.

I have never used ftp in the past as I have been the only user on my domains. However, I now find I need someone else to assist on just one of them.

So my attempts at setting up an ftp user just seem to fail

I create an ftp-password file in /srv/example.com/config with my chosen password in
I then created a file called ftp-users in /srv/example.com/comfig containing

mynewuser:newpassword

However, when I try to logon using an ftp client like WinSCP set to ftp with TLS/SSL Explicit Encryption I get an access denied error.

What am I doing wrong? Or is there a better way to give them access to just the one domain?

If they only need a single user and it’s okay with that user having access to everything in public/, then you only need the ftp-password file.

Once that’s set, they should then be able to log into the server with the domain as the username, and the specified password.

Many thanks for that, it works just fine for this particular need.