This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I have a pdf file which I am trying to open from an html page (after clicking on a link). If both the html and pdf are kept on a WINDOWS machine, the pdf opens correctly in the adobe reader embedded in a browser (IE) but if both these files are kept on a UNIX machine, the pdf opens as a ASCII file (having all ASCII characters, looks like garbage data) in the browser.
Firstly I thought the file must be corrupt but when I transferred that file to a WINDOWS machine, it's opening correctly. Also I have made sure that the file is transferred to UNIX machine in BINARY mode.
Can anybody tell me what could be the possible reasons of this problem?
It's not possible that the mime type is not set for browser because when I try to open the other PDF files on the same UNIX machine (rather the same folder) from browser, they open correctly. Only that particular file has problems opening.