Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Filename property
Holds full path where request data was saved.
Type
StringSyntax
- Basic
object.Filename [= value]
The Filename(object,value) syntax has these parts:
The Filename(object,value) syntax has these parts:
object | An expression evaluating to an object of type WebRequest |
value | A String value. |
Remarks
wodWebServer always saves content in the file on local disk. If Filename property isn't set by your code, wodWebServer creates temporary file in temporary directory, uses it as storage space, and then deletes the file when Request is destroyed. Filename is set by wodWebServer only if client's request contains body data.Since most HTTP requests are to GET resource from the website, bodies are usually empty. You can access contents of this file directly by reading/writing to a file on disk, or you can use Body property which is wrapper that loads and saves body for you - but presents it as String variable.