WeOnlyDo! wodWebServer ActiveX - Filename Property
      
 

Description

Holds full path where request data was saved.


Property type

A String value.  


Syntax

object.Filename [= value]



The Filename Property syntax has these parts:

Part Description
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.