Method HttpResponse():WriteFile() Foundation

Sends back a file to the client.

Syntax
:WriteFile(cFile, [nChunkSize]) --> self
Return

SELF

Description

Using method ::WriteFile(), any type of file of any size can be send back to the client. The second parameter <nChunksize> specifies the byte size of the chunks the file is broken into prior to the transfer. The default chunk size if 10MB.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.