Web Hosting Talk







View Full Version : Can't download files


tymonhall
03-21-2001, 06:49 PM
Hi I am having a problem downloading downloadable files from my server. Everytime I click on the url it gives me an error saying I don't have permission. Do any one know how to fix this.

jtan15
03-21-2001, 07:47 PM
It probably does not have the correct permissions. If you want people to be able to access it over the web, you should chmod it 644 with the command:

chmod 644 FILENAME

Hope this helps. :)

tymonhall
03-21-2001, 07:56 PM
Nope, Still gives me the same error.

tymonhall
03-21-2001, 07:57 PM
I've given it all the permissions in the world 777 and it still wouldn't.

What I'm trying to do is download a file like http://www.mydomain.com/filename.zip

Chicken
03-21-2001, 11:13 PM
Another guess: the directory the file is in???

(I mean permission wise)

tymonhall
03-22-2001, 01:30 AM
The directory gives permissions to read.

SI-Chris
03-22-2001, 06:02 AM
It might seem obvious, but just troubleshooting... the files aren't in a password-protected folder, are they? Is there an .htaccess file in the directory? Posting the URL of the page with the problem might be helpful.

tymonhall
03-22-2001, 12:42 PM
I got it to work. For some reason the file cant have the extention .exe if it does it gives me a "I don't have permission" message Do any one know how to change that? I can download the same file if I change the extention to .zip or something else.

ghengismark
03-22-2001, 01:33 PM
Could it be an apache setting, regarding exe files? Or possibly, when someone requested it, it executed, instead of downloading, and there was a permission problem with it exxecuting (either it is not allowed to execute, or it is accessing something/creating a file it does not have rights to).

Just some guesses.