Compartilhar via


Request.TotalBytes

The TotalBytes property specifies the total number of bytes that 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.

Applies To

Request Object

Example Code

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

<% 
  Dim bytecount 
  bytecount = Request.TotalBytes 
%> 

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also