Is this only happening with PDF files? What happens if you download the PDF file trough the webinterface. Can you open it?