[thelist] RE: ASP file upload problems

Andrew Clover and at doxdesk.com
Sat Apr 20 18:16:01 CDT 2002


Amy Johnson <ajohnson at purplemountain.net> wrote:

> The sysadmin won't let me have a writeable directory within the webspace
> so my ASP code cannot move the previously uploaded files into the webspace

How about making a second ASP file to read the files from the writeable
area? eg. a URL like


  http://www.example.com/scripts/readPage.asp?id=somepage.html

readPage.asp can check the 'id' for validity (important! security!), open
the file from the writeable directory (using FSO), and spew all its contents
into the page.

--
Andrew Clover
mailto:and at doxdesk.com
http://and.doxdesk.com/



More information about the thelist mailing list