| ||
<%
'Sample file Form-MaxMemory.asp
'
'
Server.ScriptTimeout = 5000
'Create upload form
Dim Form: Set Form = Server.CreateObject("ScriptUtils.ASPForm")
'Set maximum memory storage to 1MB
Form.MaxMemoryStorage = &H100000
'
'was the Form successfully received?
If Form.State = 0 Then
Form.Files.Save "e:\upload"
Response.Write "<br>n of Items:" & Form.Items.Count
Response.Write "<br>n of Fields:" & Form.Fields.Count
Response.Write "<br>n of Files:" & Form.Files.Count
Response.Write "<br>" & vbCrLf
Response.Write "<br>Form.MaxMemoryStorage:" & Form.MaxMemoryStorage
End If'Form.State = 0 then
%>
<br>sample For <A Href=http://www.motobit.com>HugeASP upload</A>
<form name="file_upload" method="POST" ENCTYPE="multipart/form-data" >
<input Name=SourceFile1 Type=File>
<input Name=Description1>
<input Name=SubmitButton Value="Submit >>" Type=Submit>
</Form> |