Is This Possible ... ?



I've come up against a major headache that I can't seem to find a solution
for but I'm sure there must be a workaround and I would really be grateful
of any help.

I'm currently building a web site for a small club I belong to and one of
the features I would like to include is the ability to allow users to upload
image files.

unfortunately the servers web root www folder only allows READ and EXECUTE
permissions, which makes it impossible to allow a user to upload a gif/jpeg
image. When I FTP into the site however, I can immediately see two folders:

databases
www

the www folder is the root folder and all web pages need to be placed there,
but the databases folder does have Read, WRITE and Execute permissions and I
have been reliably informed that some ASP.NET code would allow a user to
send a picture file to an Access database in this folder, the problem I have
is not knowing how to reference it because it's not directly accessible from
the Internet - i.e. www.website.co.uk/databases would not work.

The server is running ASP.NET 1.1 and the permissions setup has to stay the
way it is, I'm not able to get my host to change the permissions on the root
folder so I have to try and make use of the databases folder instead. For
arguments sake lets also assume I already have a simple Access database
called images.mdb with one table called Images, which in turn contains two
fields, one called ID (Autonumber) (Primary Key) and another called images
(OLE Object)

What I would really like, if possible, is a very simple sample page with a
text box and a Browse button, with a second button to 'Upload' the file once
selected, plus any supporting pages that may be required to complete the
operation, i.e.:

selectfile.aspx (simple page to select image file and send to database)
uploadfile.aspx (works behind the scenes to transfer the file)
confirmation.aspx (a confirmation page to indicate the transfer either
succeeded or failed)

I'm not a natural programmer by any stretch of the imagination, which is why
I'm being a bit cheeky and asking for a very simple layout to accomplish
this task, or a straight forward dummies tutorial which takes into
consideration the problem with uploading to a database outside of the root
web.

If anybody can help me solve this problem, I will forever be indebted to
you. I have searched the Internet for over a week and remarkably I cannot
find an answer to this problem, it's now driving me nuts - I just want to
solve this so I can move on with the rest of the site design.

Any help would be greatly appreciated.

Many thanks in advance
Wayne


.


Loading