File upload problem

File upload problem

am 05.01.2007 12:01:55 von PW

I'm writing a small system to allow users to upload documents to my server.
I'm using Persist AspUpload for this. I have 2 ASP files.

In the first ASP file I prompt the user for a file description and a
filename, like this ...





Document description SIZE="100">
Document filename SIZE="100">







In the 2nd ASP, which is the - ACTION="sl_upload2.asp" - file, I simply
perform the upload, like this ...

<%
Response.Write ""
Response.Write "St Lukes After School Care"
Response.Write ""

Set Upload = Server.CreateObject("Persits.Upload")
intCount = Upload.Save("C:/INETPUB/WWWROOT/SLASC/UPLOADS")

Response.Write "The file(s) have been stored successfully."
Response.Write ""
Response.Write ""
%>


No matter what I try (Get/Post/etc) I cannot get the DOCDESC and DOCFILE
values to pass through to the 2nd ASP file.

What can I do ?

Thanks,
PW