in reply to Re: PDF file opening from Linux but not opening from Windows
in thread PDF file opening from Linux but not opening from Windows

I got the solution.

I did this -->
print $query->header(-type=> "application/octet-stream",-attachment=>"$oldfile",-Content_Length => $size);

I added the -Content_Length of the file . After that the pdf files started opening.
  • Comment on Re^2: PDF file opening from Linux but not opening from Windows