I want to download an Excel file from the server and am using the following code.
Expand|Select|Wrap|Line Numbers
- <input type=button value="Click To Download" onClick="location.href='Logs.xls'">
exec of /tmp_mnt/org/www/cgidir/dev_cgitools/Codeplug/Logs.xls failed (Exec format error)
I read about Exec Formet Error, and found that Excel seems to be an invalid format. I have no clue why the excel file is not working for this particular operation because, it works fine while uploading data in the same excel file.
Any help is appreciated.
Thanks,
Ravi