Hello,
I am trying to run the following in php
$test = svn cat ....
Now the output of $test is basically a binary file returned by svn. How do I make this binary file available as a download. Am trying to put the following:
$test = `svn cat ....`
header("Content-Disposition: attachment; filename=" . urlencode($filename));
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Description: File Transfer");
echo $test;