Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში. აქ არავინ უნდა მოგთხოვოთ ტელეფონზე დარეკვა, შეტყობინების გაგზავნა ან პირადი მონაცემების გაზიარება. რამე საეჭვოს შემჩნევისას გთხოვთ გვაცნობოთ „დარღვევის მოხსენებით“.

ვრცლად

PDF getting downloaded without any extension

  • 4 პასუხი
  • 3 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა shivaraagi

We are trying to download a PDF file which is not having any extension. The type of PDF is 'File' . Can you please tell me what might be the reasons for this issue .if possible can you give any suggestions on how to download PDF using c# code .

We are trying to download a PDF file which is not having any extension. The type of PDF is 'File' . Can you please tell me what might be the reasons for this issue .if possible can you give any suggestions on how to download PDF using c# code .

ყველა პასუხი (4)

these are the screenshots for reference.

These are end user forums. You would be better off asking in a development forum such as stackoverflow. If the software you are writing allows setting content-disposition then that may be your best solution. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition

Do you want to download the PDF file or display it in a Firefox tab?

The screenshot show SUMO support threads about not being able to view the PDF file is Firefox.

kbrosnan said

These are end user forums. You would be better off asking in a development forum such as stackoverflow. If the software you are writing allows setting content-disposition then that may be your best solution. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
 Thanks for the response, 
 My code already has the setting for content-disposition, yeah I would  go with development forums for more clarity.

Thank you.