openmediavault
4.0 (Arrakis)
The open network attached storage solution
|
Protected Member Functions | |
getParams () | |
handleResponse ($response) | |
![]() | |
getParams () | |
validate () | |
preExecute () | |
postExecute (&$response) | |
handleResponse ($response) | |
Additional Inherited Members | |
![]() | |
handle () | |
cleanup () | |
![]() | |
$params = NULL | |
A specialized RPC proxy that handles file downloads.
|
protected |
response | The response must contain the following fields filename, content or filepath and contenttype which is optional. The field content contains the content to be returned, filepath contains the name of the file which content should be returned. Please note that the file must be readable for everybody. If unlink is set then the given file will be removed after use. The fields content and filepath exclude each other. Only The field contenttype contains the 'Content-Type' header string if set, otherwise it is set to 'text/plain'. |