File Download Issue on


I have developed a shiny application that takes certain PDF files as input and outputs an Excel file in xlsx format. It works perfectly fine when I use the shiny application locally. However, it doesn't work on because the downloaded output file is in the htm format and the download fails.

Do you know if prohibits such a practice? If not, what steps should I follow?