Starting a new reply as the previous one is at it’s limit.
You’re not using
root as I specified in the command I provided :-). As a result, unless the user you’re trying to upload as owns that directory, the command will fail.
For example, you’re trying to connect using
jgacuca567 in the screenshot. If that user doesn’t own the directory
/var/www/html, then that user will not be allowed to upload files to it.
You can see who owns the directory by running:
ls -al /var/www
You would need to run (on the Droplet):
chown -R jgacuca567:jgacuca567 /var/www/html
To change ownership of the files and directories if you plan on using that user with
root user doesn’t require any specific permissions simply because it’s
root has access to read and write to any directory or file.