TotalBytes

The TotalBytes property specifies the total number of bytes the client sent in the body of the request. This property is read-only.

Syntax

Counter = Request.TotalBytes
 

Parameters

Counter
Specifies a variable to receive the total number of bytes that the client sends in the request.

Example

The following script sets a variable equal to the total number of bytes included in a request object.

<%
Dim bytecount
bytecount = Request.TotalBytes
%>

Applies To

Request Object

See Also

BinaryRead