ASP upload won't write to server

Reply

Join Date: Jan 2005
Posts: 1
Reputation: neilpollick is an unknown quantity at this point 
Solved Threads: 0
neilpollick neilpollick is offline Offline
Newbie Poster

ASP upload won't write to server

 
0
  #1
Feb 4th, 2005
UPLOAD PROCEDURE RUNS UP AGAINST "PERMISSION DENIED"

I have access to a folder on a server and I am running my website from there.
I can access the site with ftp, even eith a line in the address bar of IE
ftp://username:password@theremoteserver.com

I have used this access to download the appropriate files to set up an ASP upload facility. (It works fine when tested on my local machine).
When I go to the URL and try to upload the file I get "Permission Denied".
Unfortuantely I have no ability to change permissions (nor can I contact the server administrator - along story, and legal!).

Surely there is some way of incorporating the username and password into the ASP script in order to overcome the problem! (after all, I CAN write files to the Uploads folder when I use ftp!)

I have an inkling that one way round it is to incorporate the passowrd and username into a log-in script, so that anyone who logs in will be able to upload but how is this done?

I assume this is a common concern and the answer is out there (surfing has not yet brought it to my shore!)
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 18
Reputation: Aykon is an unknown quantity at this point 
Solved Threads: 1
Aykon's Avatar
Aykon Aykon is offline Offline
Newbie Poster

Re: ASP upload won't write to server

 
0
  #2
Feb 4th, 2005
My suggestion on this is to find out what the permissions are. Any scripting language is very picky about permissions. If you are going to have people upload on to the server then you need to make sure that the IUSR_COMPNAME has write access to that foloder. If you don't have those permissions, you are going to really have a hard time doing that. I would contact the techsupport at your host or something of that nature.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 86
Reputation: dexterz is an unknown quantity at this point 
Solved Threads: 3
dexterz dexterz is offline Offline
Junior Poster in Training

Re: ASP upload won't write to server

 
0
  #3
Feb 4th, 2005
Ask the tech support of your hosting company on what folder in your web root has read,write and execute permission. This happened to my site when I first set up the photo upload. You can use the cgi-bin folder in your web root which has read,write and execute permission.

Dexter
Last edited by kc0arf; Feb 5th, 2005 at 12:27 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4635 | Replies: 2
Thread Tools Search this Thread



Tag cloud for ASP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC