Permission Denied: Uploading File: SCP

I’m trying to upload an image to my webserver but getting permission denied in filezilla and when I scp the file to the directory with:

sudo scp -P 7689 /home/powerhouse6666/Downloads/login.gif .com/public_html/xry/images/

I get permission denied. On the file login.jpg I have read write access on the file and directory has file permissions of drwxrw-rw-

Not sure what to do next.

Hey @orcacomputers
Just two quick notes:
you are exposing sensitive information.
No need to use sudo to use scp.


It looks like in the original version you had an extra space after www/ which would have caused to be interpreted wrongly.