944,135 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 5273
  • ASP RSS
Feb 4th, 2005
0

ASP upload won't write to server

Expand Post »
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!)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
neilpollick is offline Offline
1 posts
since Jan 2005
Feb 4th, 2005
0

Re: ASP upload won't write to server

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Aykon is offline Offline
18 posts
since Feb 2005
Feb 4th, 2005
0

Re: ASP upload won't write to server

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.
Reputation Points: 10
Solved Threads: 3
Junior Poster in Training
dexterz is offline Offline
86 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Server side script in asp won't run on Netscape
Next Thread in ASP Forum Timeline: urgent-how to pass multiple values to the parent form





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC