Forum Moderators: open
here is a snip from my form:
<form enctype="multipart/form-data" action="catalog_process.asp?action=save" method="post">
<input type = "hidden" name = "idCatalog" value = "0">
<textarea style="width:350px" name="sDescription" rows="10" cols="32"></textarea>
<input type="file" name="imgHeader" size="32" style="width:350px;">
here is my code:
select case action
case "save"
dim Upload
Set Upload = Server.CreateObject("Persits.Upload.1")
Upload.OverwriteFiles = true
Response.Write("start<br>")
for each item in upload.form
Response.Write("name: " & item.name)
next
Response.Write "<br>end"
Response.End
end select
the problem is that nothing is showing up in my for loop. this is what shows up:
start
end
it's like my upload.form collection does not even exist. there are no errors, no nothing.
am i missing something here?
-Matt
you have to call upload.save before you can you the upload.form collection.
Persits KB article:
[support.persits.com...]
-Matt