Back to product page

AutoParse property


Determines if request uploads are auto saved to destination files, during upload.

Type

Boolean

Syntax

  • Basic
object.AutoParse [= value]
The AutoParse(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebRequestUploads
valueA 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).

Platforms

Windows