Request.BinaryRead method

Returns the requested number of binary bytes from those sent by the client.

Usage

data= Request.BinaryRead(bytes)

Details

This method is used when the client sends binary data to the server, for example, as a part of a file upload form input.

Note

The data returned by this method is pretty difficult to work with using VBScript or JScript; it needs to be broken apart, decoded, etc. Using a third-party component, like the ASPFileForm, to read the fields from a file upload is advisable.