Uploaded file is not accessible

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
upabbi
Forum Newbie
Posts: 6
Joined: Thu Nov 11, 2004 9:19 pm

Uploaded file is not accessible

Post by upabbi »

Hi All,

I have uploaded a zip file of my project to my page upasana.50megs.com but when i try to access it from this URL it says

You do not have permission to access http://upasana.50megs.com/test.zip

Data files must be stored on the same site they are linked from.

Please visit my url upasana.50megs.com/test.zip and tell me what should i do to make it accessible to everybody.

Thanks
Upasana Pabbi
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

file permissions?
upabbi
Forum Newbie
Posts: 6
Joined: Thu Nov 11, 2004 9:19 pm

Post by upabbi »

How can i give file permissions ?
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

in linux chmod
in windows right clic properties -> security i think
upabbi
Forum Newbie
Posts: 6
Joined: Thu Nov 11, 2004 9:19 pm

Still in trouble

Post by upabbi »

I checked the permission of my zip file. It has full access permission to everyone, even then when I upload it on my URL, only i can download zip file, other don't have permission to access it from my web page.

Please tell me how this issue can be resolved? pl. reply back soon. I need to post it asap.


Thanks
Upabbi
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

Correct me if I am wrong, but it sounds like an issue with your web host.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Data files must be stored on the same site they are linked from.


so first visit blah.host and then request blah.host/file.zip... or if you are going the automated way, play around with the http_referer header
Post Reply