Previous Up Next

HTTPsendFile
Send a file content as response to a request and close the connection once the whole file is transmitted. The file content will not be loaded in Scol memory, but transmitted directly from file to connection.

I HTTPsendFile (
HTTPcon _http_connection_
P _file_reference_
)
Parameters

_http_connection_
any http connection
_file_reference_
any file reference
Return value

0 if success

Error :