Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
AutoParse property
Determines if request uploads are auto saved to destination files, during upload.
Type
BooleanSyntax
- Basic
object.AutoParse [= value]
The AutoParse(object,value) syntax has these parts:
The AutoParse(object,value) syntax has these parts:
object | An expression evaluating to an object of type WebRequestUploads |
value | A Boolean value. |
Remarks
This property should be set inside RequestHeaders event, if you prefer wodWebServer to deliver uploaded files directly to their destinations, instead of dumping them to request body and then extracting later on. This can speed up your handing of uploaded files, since Save method can be rather slow on large files.This property must be set in RequestHeaders event, since Request.Uploads collection is created at that time, and you have enough information in Request.Headers to decide if you want to stream files directly to destination filenames.
When files are streamed that way, Request.Body will not contain the file contents, but will contain all other upload data (such as Headers for each upload part).