ParseRequest Method
ParseRequest method handles all HTML-form data and initializes the FormElements and FormFiles collections with the corresponding objects.
| blnResult = ObjectName.ParseRequest(pvt) | ||
| Parameters: | ||
| pvt as Variant Byte Array | An array which contains the data sent to the server from the client form (generally, value returned by ASP's Request.BinaryRead method) | |
| Return value As Boolean | True if successful, False otherwise | |
Usage example:
<% Set Uploader = Server.CreateObject("MailBee.Uploader")
Uploader.ParseRequest Request.BinaryRead(Request.TotalBytes)
For Each File In Uploader.FormFiles
File.SaveToDisk "C:\Temp\"
Next %>
See Also:
FormElements Collection| FormFiles Collection| FormElement Object| FormFile Object| Uploader Object
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.