403 Forbidden when trying to download file that was uploaded using SSH
Posted
by Simon Hartcher
on Server Fault
See other posts from Server Fault
or by Simon Hartcher
Published on 2010-05-07T02:34:34Z
Indexed on
2010/05/07
2:38 UTC
Read the original article
Hit count: 387
I have FTP access to an Apache server on linux to upload files so that they can be downloadable from the web.
I recently was granted SSH access for extra permissions and figured that it would be quicker to download the files directly to the server, instead of downloading them to my machine then FTPing to the server.
When I downloaded a file using SSH to the server, and then placed it in the public_html directory, it was not visible from the web. The permissions (from SSH and the FTP client) were the same as all the other files that are visible, but it was not visible in the directory listing, and if I tried to type in the filename into my browser I would get a 403 error.
Obviously, when I FTP a file to the server something else happens that makes it web visible, that I am not currently privy to.
What am I missing that is causing the file to be invisible from the web?
© Server Fault or respective owner