The ASPUserWrite function allows you to transfer a variable-size block of data to the server end of the ASP session and receive a reply. If you have previously called the ASPUserCommand function to send a command that directs the ASP server to open a file, you can call the ASPUserWrite function to write data to the file. To ensure that the function executes successfully, you can specify the maximum size for this array as indicated in particular for the function that uses it. If you want to limit the amount of memory used for the CCB, you can specify the minimum amount of memory required for this array. All other types of errors are returned in the function's parameter block ioResult field.
Error reporting for the ASPUserWrite function is the same as for the ASPUserCommand .
You can obtain the driver reference number by calling the Device Manager's OpenDriver function. You must also specify the .XPP driver reference number. The size of the command block exceeds the maximum size of 296 bytes SEE ALSO To send a command to the server to direct it to perform a prerequisite action before you use the ASPUserWrite command to write data, use the ASPUserCommand function, described on page 8-15 . To determine the minimum amount of memory required for the CCB or to find out more about the possible types of error conditions for which errors are returned and how these error results are reported, see the description of the ASPUserCommand function. Inc. All rights reserved.