DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: problem with pdf  (Read 5,956 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
problem with pdf
« on: July 14, 2016, 09:36 PM »
hello!

I want to upload some pdf files in a website and while they are true pdf files, with pdf extension, the website rejects them as non-pdf

what can I do?

how can I 'fix' them? or is there any other solution?

thanks!

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: problem with pdf
« Reply #1 on: July 14, 2016, 10:45 PM »
why ask us - why not ask the website?

if that not possible:
moar info please (website? pdf sample?)
Tom

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: problem with pdf
« Reply #2 on: July 14, 2016, 10:53 PM »
A pdf file can include dangerous coding, so the blocking may be for safety reasons. Here at DC you'll have to put the pdf file into a container, say a zip file. Maybe 'they' have a similar policy?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: problem with pdf
« Reply #3 on: July 14, 2016, 11:51 PM »
Although you see one extension, know that there are several versions of the PDF format. Not all of them are as backwards compatible as you would expect. Perhaps the website only accepts PDF format 1.6 and 1.7 and you have created pdf files with the PDF 1.5 format or lower.

Your PDF viewer/reader can handle these files, but I am not sure about the website. Like Tomos says: more info is needed for a proper answer, else your guess is as good as mine.
The easy path is usually downhill...

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: problem with pdf
« Reply #4 on: July 15, 2016, 11:13 PM »
the website is https://www.universityadmissions.se/intl/start but the pdf are id documents and cannot upload

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: problem with pdf
« Reply #5 on: July 16, 2016, 06:13 PM »
I finally solved the problem, it was that I used Firefox, when switched to IE, there was no problem!  :Thmbsup:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: problem with pdf
« Reply #6 on: July 16, 2016, 08:02 PM »
I finally solved the problem, it was that I used Firefox, when switched to IE, there was no problem!  :Thmbsup:
ah, so the website is broken  :(
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 802
    • Participated in NANY Challenge Thirteen Times
Re: problem with pdf
« Reply #7 on: July 17, 2016, 11:46 AM »
I finally solved the problem, it was that I used Firefox, when switched to IE, there was no problem!  :Thmbsup:
I have also found this typical type of solution in some of the "government" website. They simply do not work properly without IE. I think they are heavily done with activex and asp codes which are forbidden or crap as per new FF / Chrome.

I keep all three ready in my taskbar to make all websites happy.  ;)

Regards,

Anand

Original address: https://www.donationcoder.com/forum/index.php?topic=42821.0