Path to store form data during read of form (upload) on server-side.
vTempPath = ASPForm.TempPath
ASPForm.TempPath = vTempPath
String
Default is a system temp folder.
Be sure there is enough of space on TempPath if you want to accept big uploads, see ScriptUtils.ASPForm.Upload - Files and forms with large/huge size..
Upload - Custom temporary folder |
Dim Form: Set Form = Server.CreateObject("ScriptUtils.ASPForm")
'Do not store form data in memory.
Form.MaxMemoryStorage = 0
'Set custom temp folder
Form.TempPath = "D:\Temp"
Response.Write "<br>n of Items:" & Form.Items.Count
Response.Write "Field names:"
Dim Field: For Each Field In Form
Response.Write "<br> " & Field.Name
Next |
AddConnection, CancelConnection, CheckRequirements, Read, Sleep, StringToBinary
BytesRead, Files, FormType, getForm, CharSet, ChunkReadSize, Items, MaxMemoryStorage, NewUploadID, ReadTime, ReadTimeout, SizeLimit, SourceData, State, TempPath, Texts, ThreadPriority, TotalBytes, UploadID
The ASPForm collection retrieves the values of form elements posted to ASP script by a form using the POST method. ASPForm can process multipart/form-data or application/x-www-form-urlencoded data with length up to 2GB.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz