Previous Next

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:
Applies to:
 
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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.