Uploading to a folder outside the www ... ?
- From: "Wayne Smith" <waynesmith1971(NoSpam)@hotmail.com>
- Date: Thu, 15 Jun 2006 09:19:32 +0100
Applies to ASP.NET 1.1
I'm in the process of building a small web site for a club I belong to, one
feature of the site which I would like to include is the ability to allow
users to upload images for others on the site to view.
I found some ASP.NET code on a developers web site which seems to do exactly
what I was looking for, I followed the instructions and uploaded the code to
the correct directory and tried to upload a test image to check all was
working, but it came back with an error - fortunately another user had
experienced the same problem and the post on the message board indicated
that permissions would need to be set on the folder where the images were to
be uploaded, I spoke to my domain host and they indicated the entry level
package I'm on does not allow me to change permissions on folders within my
web site, I would have to upgrade my account to a business hosting package
in order to achieve this.
The problem is we are a small club and cost is an important factor, so
upgrading our hosting package is something we cannot afford to do.
After delving a little deeper, the hosting company did indicate that the
database folder is the only folder which allows Read/Write & Execute where
all the other folders only allow Read & Execute permissions.
The problem I have is the database folder is not within the www directory,
when I FTP to the site the two folders I immediately see are:
databases
www
to upload web pages to the site I have to open the www folder and include
them there.
The problem I have is not knowing how to point to this database folder
within the ASP.NET code, because its not part of the www site and is not
accessible from the internet, I'm a bit confused as to how to send images to
that folder - my domain host has indicated that I would need to "include"
the images in a script - but I have no idea how to go about this or what he
means, I'm not a natural programmer so a lot of this just goes straight over
my head unless its explained in an idiots guide manner ...
Can anyone offer a solution or workaround to what I'm trying to do, maybe
even a step-by-step guide on a web site would be a good place to start.
I greatly appreciate any help, suggestions or pointers that you may have.
Many thanks in advance
Wayne
.
- Follow-Ups:
- Re: Uploading to a folder outside the www ... ?
- From: Jesse Houwing
- Re: Uploading to a folder outside the www ... ?
- Prev by Date: Re: DropDownList - Is it Possible to get the TextField Contents
- Next by Date: RE: TreeView not expanding in some browsers
- Previous by thread: Re: DropDownList - Is it Possible to get the TextField Contents
- Next by thread: Re: Uploading to a folder outside the www ... ?
- Index(es):
Relevant Pages
|