Description
-
Determines if request uploads are auto saved to destination
files, during upload.
Return Type
-
A Boolean value.
Syntax
-
object.AutoParse
[= value]
The AutoParse Property syntax has these parts:
| Part |
Description |
| object |
An expression evaluating to an object
of type WebRequestUploads. |
| Index |
Required. |
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).
|