Hi!
I'd like to create an own download service where I provide special files for download.
Example:
URL: <my_host>/cs/idcplg?IdcService=DOWNLOAD_FILE&id=8
Internally I have the file "myfile.zip" (automatically created)
How can I send the file to the browser? How can I set custom headers?
Like PHP:
header('Content-Type: application/octet-stream
');
echo file_get_content('data/my_file.zip');
Thanks!
BR,
Volker