Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GET-BINARY-DATA( ) method
 

GET-BINARY-DATA( ) method

Returns a MEMPTR containing the binary data in the file specified in the form field. The AVM sets the size of the MEMPTR to match the size of the file. This method is called by the get-binary-data WebSpeed API function. Intended for internal use only.
Return type: MEMPTR
Applies to: WEB-CONTEXT system handle

Syntax

GET-BINARY-DATA ( INPUT field-name )
field-name
The name of the form field containing the name of the file posted in the web request received by the WebSpeed Agent.
If the specified field is not part of the form, or the field is not of type ‘file', the AVM returns the Unknown value (?) and displays an error message. You can suppress this message by using NO-ERROR on the statement containing the method.