Hi everybody, I hope you are the right people to address my question. If not, please tell me who might help me with the following question: I am trying to upload a pdf file via a localfs object. Unfortunatelly I am getting a blank page to see within ms-ie. This is the code I am using: <dtml-var standard_html_header> <a href="pdffiles/deutschA.pdf" type="application/pdf"> upload </a><br> <dtml-var standard_html_footer> Thanks in advance, Metin Deniz
I hope you are the right people to address my question. If not, please tell me who might help me with the following question:
I am trying to upload a pdf file via a localfs object. Unfortunatelly I am getting a blank page to see within ms-ie.
This is the code I am using:
<dtml-var standard_html_header> <a href="pdffiles/deutschA.pdf" type="application/pdf"> upload </a><br> <dtml-var standard_html_footer>
Probably not helpful, but just to make sure: by "upload" you mean "transfer from server to client, such that the client can display it"? This is the opposite of my understanding of the term, and if it is also yours, then your method is all turned about. I suspect not, however. Now for the possibly helpful parts: - does it work if youhave a PDF outside a LocalFS? If so, make sure your LocalFS is recognizing it as a PDF and setting the mime-type correctly. (Not that IE really pays attention to the MIME types.) Look under the "properties" tab for this. - does it work if you drop the "type" attribute from your anchor tag? - when you click that link, does the browser url have the right file name (esp. without a different extension, which will screw up IE to no end.) Does it work right in other browsers? Try to view source to make sure it's not some error page. Try the IE version of "Save link target as..." from the linking page: does it save a valid PDF file? That's really all the guesses I can make on the available information. --jcc
Deniz, Metin wrote at 2003-3-11 14:03 +0100:
I hope you are the right people to address my question. If not, please tell me who might help me with the following question:
I am trying to upload a pdf file via a localfs object. Unfortunatelly I am getting a blank page to see within ms-ie.
This is the code I am using:
<dtml-var standard_html_header> <a href="pdffiles/deutschA.pdf" type="application/pdf"> upload </a><br> <dtml-var standard_html_footer>
You tell us that rendering this page results in an empty page? This would mean a really strange definition of "standard_html_header/footer". Not that this page does no uploading at all, it just renders a link... Look at the HTML source (in your browser). Dieter
participants (3)
-
Deniz, Metin -
Dieter Maurer -
J Cameron Cooper