FILE_REQUEST
(edit this)
  • System usage: #define FILE_REQUEST 594
  • Application usage: #define APP_FILE_REQUEST -1594
  • Introduced in: 8.5b5
  • Processed by: memory card driver (_songbird)

Description: Requests that the disk driver send the contents of the text file (notecard) named in the string parameter. This will be sent in chunks of up to 512 bytes using the message 593 FILE_CONTENTS. The response messages will copy the key parameter provided in this message, so use llGenerateKey() to create a handle, similar to the query key used for llGetNotecardLine(), llHTTPRequest(), and so on. Using the disk driver to handle reading files (with messages 593-596) is strongly recommended as this will allow transparent handling of web-based files.

Parameter format: String parameter: the name of the file to return. Key parameter: a unique handle.