download with X sendFile

assalammu’alaykum …


i want to download image and another file from server with X sendFile. it is sucess to download but corupt cann’t to open. anyone can help me? ??? thanks

xSendFile() uses a special server directive like "x-sendfile"… this directive depends on server OS…

check the documentation -

and the wiki article -

Check the filesize is not 0 (explained in the doc)…

and check that you don’t have any other output like the CWebLogRoute enabled

thanks to All :D