The IRequest::get_TotalBytes method retrieves the size of the current request in bytes.
get_TotalBytes(
LONG pcbTotal // pointer to a long integer that contains the
// size of the current request in bytes
);
IRequest::BinaryRead