Forums

This topic is locked

UploadRequestForm is not working PAU 2.17

Posted 20 Nov 2003 21:07:43
1
has voted
20 Nov 2003 21:07:43 mac mcdell posted:
OK i have the simplest form action right now.
one field named "file" with PAU 2.17 on page test.asp
pau_redirect page is test_response.asp

test_response.asp has this block
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
If (CStr(Request.Querystring("GP_upload") <> "" Then
Response.Write UploadRequestForm("file"
' Response.Write UploadRequestForm("file2"
' Response.Write UploadRequestForm("file3"
end if
%>
-------------this results in no errors, but no response ----------
then i try
<%= UploadRequestForm("file"%> in the body with the above code unblocked.
-----------results in Type mismatch: 'UploadRequestForm' -----------

then i try
<%= UploadRequestForm("file"%> in the body with the above code blocked.
-----------results in Type mismatch: 'UploadRequestForm' -----------


What the heck am i doing wrong here???
double checked file field name, double checked spelling

PLEASE HELP!!!! this is driving me crazy
mac


Replies

Replied 23 Nov 2003 03:34:26
23 Nov 2003 03:34:26 mac mcdell replied:
ok after reading yet even deeper into this mysterioys UploadFormReqeust world... i think from the incredibly bad support on this problem, this code block needs to go into the upload script....
like so
<rest of PAU Code>....pau_timeout
end if
If (CStr(Request.QueryString("GP_upload") <> "" Then
Response.Write UploadFormRequest("file1"
Session("file2" = UploadFormRequest("file2"
Response.Write UploadFormRequest("txt"
end if
%>
however.... alas the friggin thing still doesn't work. Hey George or Martha,,, hows about putting up a couple text files to demo exactly where these mysterious scripts are supposed to go! this is getting really annoying. I've done form searches now on dmxzone and still found 0 decent articles in response to this. pleaaaaaaase help.
mac
Replied 24 Nov 2003 10:18:16
24 Nov 2003 10:18:16 Martha Graham replied:
I have forwarded this to patrick. His email address is

Martha Graham
DMXzone manager
Replied 24 Nov 2003 12:41:51
24 Nov 2003 12:41:51 Patrick Woldberg replied:
The last code you gave should work I think, underneat a smaple I used and worked:

<pre id=code><font face=courier size=2 id=code>'*** Pure ASP File Upload 2.1.7
Dim GP_uploadAction,UploadQueryString
PureUploadSetup
If (CStr(Request.QueryString("GP_upload") &lt;&gt; "" Then
Dim pau_thePath,pau_Extensions,pau_Form,pau_Redirect,pau_storeType,pau_sizeLimit,pau_nameConflict,pau_requireUpload,pau_minWidth,pau_minHeight,pau_maxWidth,pau_maxHeight,pau_saveWidth,pau_saveHeight,pau_timeout,pau_progressBar,pau_progressWidth,pau_progressHeight
pau_thePath = """upload"""
pau_Extensions = ""
pau_Form = "form1"
pau_Redirect = ""
pau_storeType = "file"
pau_sizeLimit = ""
pau_nameConflict = "uniq"
pau_requireUpload = "true"
pau_minWidth = ""
pau_minHeight = ""
pau_maxWidth = ""
pau_maxHeight = ""
pau_saveWidth = ""
pau_saveHeight = ""
pau_timeout = "600"
pau_progressBar = ""
pau_progressWidth = "300"
pau_progressHeight = "100"

Dim RequestBin, UploadRequest
CheckPureUploadVersion 2.17
ProcessUpload pau_thePath,pau_Extensions,pau_Redirect,pau_storeType,pau_sizeLimit,pau_nameConflict,pau_requireUpload,pau_minWidth,pau_minHeight,pau_maxWidth,pau_maxHeight,pau_saveWidth,pau_saveHeight,pau_timeout

Session("file" = UploadFormRequest("file"
Response.Write UploadFormRequest("file"
end if</font id=code></pre id=code>


--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------

Reply to this topic