hi try this:
$xcat =$domain.$folder.$file;
sc_link($download,"$xcat", ,"Download File","_blank");
...