Here there is requirement of uploading and downloading a file. This file can be a PDF, MS Word, Excel, etc...
Uploading and Downloading is already acomplished and working fine with the Text file.
However, when we try dwonloading a MS Word or Excel file it shows the value but the formating is incorrect and hence we are not able to see the data correctly.
To be precise in a leymans language the data is garbled/incorrect.
How can we make sure the file is displays the same data in the same format as it was uploaded?