Not entirely sure I correctly understand what you're trying to do, but is there any reason to use the MIME-type "application/octet-stream"? In case you're trying to deliver PDF content, the MIME-type "application/pdf" would be more appropriate, I think... (also see this FAQ)
On Windows, can you do "save link as..." or some such (i.e. save to disk), and then properly view the resulting file? If not, you might want to compare the contents of this file with the contents of your original /tmp/... file.
There are a number of factors that could account for the differences in behaviour between Linux and Windows... So, some more info would be helpful if you need further comments -- e.g. which browser, PDF reader/plugin, MIME-type associations configured, etc.
In reply to Re: PDF file opening from Linux but not opening from Windows
by almut
in thread PDF file opening from Linux but not opening from Windows
by pankaj_it09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |