I am struggling to sort out a problem with using an upload object (Persits.Upload). When I submit a form (with encrypt type set/enctype="multipart/form-data") the code falls over at line Upload.SaveVirtual "/uploads"
CODE AS FOLLOWS
<%
Set Upload = Server.CreateObject("Persits.Upload.1")
if(Request.QueryString("frmSubmited")="true")then
'dim fname, imgErr, errDesc
fname = ""
imgErr = false
fname = ""
imgErr = false
Upload.SaveVirtual "/uploads" 'line 201
/problem above
.....
end if
%>
actual error =
Persits.Upload.1 error '800a0001'
Unspecified error
/admin/adminpages/editContact.asp, line 201
Does anybody know how to deal with this? It seems to happen if I upload an image or not. I would also like to know a way of testing if there is a file uploaded or not.
Please help.
JimFl
CODE AS FOLLOWS
<%
Set Upload = Server.CreateObject("Persits.Upload.1")
if(Request.QueryString("frmSubmited")="true")then
'dim fname, imgErr, errDesc
fname = ""
imgErr = false
fname = ""
imgErr = false
Upload.SaveVirtual "/uploads" 'line 201
/problem above
.....
end if
%>
actual error =
Persits.Upload.1 error '800a0001'
Unspecified error
/admin/adminpages/editContact.asp, line 201
Does anybody know how to deal with this? It seems to happen if I upload an image or not. I would also like to know a way of testing if there is a file uploaded or not.
Please help.
JimFl