uploading permissions / virtual directories - help!

G

Guest

Hi

I've got a web app that I've installed on a client computer. Basically it's
an intranet, and has a section where staff can upload media files for all to
see, so theyre all in a conveinient place.

Problem is, they want to store the media files on a diff directory, one that
is OUTSIDE of the website itself. They actually want a seperate drive.

I've created a virtual directory in IIS to point to that, and files are
visible. The problem is I'm not sure how to upload to it - well, it's not
working.

Atm, I've got it set up to directly upload to i:\path - but files aren't
getting uploaded. Is this something to do with permissions (if so what needs
changing) or am i on the wrong track completely?!

Cheers


Dan
 
H

hashimisayed

You need to give the ASPNET user account write permissions to the
folder. Right click on the folder and choose Properties and then the
Security tab. Add the ASPNET user and give him write permissions. Note
that if the application has to show the images, you also need to give
him read permissions. If you have to iterate the list of images in the
folder, you'll need to give ASPNET execute permissions as well.

sayed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top