SOLVED

"Save as" in embedded PDF downloads a 0 KB file

%3CLINGO-SUB%20id%3D%22lingo-sub-2263379%22%20slang%3D%22es-ES%22%3E%22Save%20as%22%20in%20embedded%20PDF%20downloads%20at%200%20KB%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2263379%22%20slang%3D%22es-ES%22%3E%3CP%3EI've%20got%20an%20embedded%20PDF%20Window%2C%20where%20I%20see%20the%20PDF%20correctly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20I%20use%20%22save%20as..%22%2C%20it%20downloads%20to%200%20KB%20PDF%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20happens%20only%20in%20Edge.%20I%20tried%20it%20with%20Firefox%20and%20Chrome%2C%20and%20there%20it%20downloads%20the%20PDF%20without%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20funny%20thing%20is%20that%20this%20website%20gives%20me%20the%20option%20to%20download%20the%20PDF%20directly%20without%20showing%20it%20embedded%20in%20the%20Window.%20And%20that%20download%20works%20perfect.%20Only%20the%20download%20of%20the%20embedded%20view%20doesn't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2263379%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EDownload%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Edownload%20PDF%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eembedded%20PDF%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Epdf%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESave%20As%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2263599%22%20slang%3D%22en-US%22%3ERe%3A%20%22Save%20as%22%20in%20embedded%20PDF%20downloads%20a%200%20KB%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2263599%22%20slang%3D%22en-US%22%3ELink%20to%20PDF%20so%20we%20can%20try%20it%3F%3CBR%20%2F%3Ewhich%20Edge%20version%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

I've got an embedded PDF Window, where I see the PDF correctly.

 

But when I use "save as..", it downloads a 0 KB PDF file.

 

This happens only in Edge. I tried it with Firefox and Chrome, and there it downloads the PDF without problem.

 

The funny thing is that this website gives me the option to download the PDF directly without showing it embedded in the Window. And that download works perfect. Only the download of the embedded view doesn't work.

 

Any ideas?

6 Replies
Link to PDF so we can try it?
which Edge version?

@HotCakeXit's an intranet site, there's no external access.

 

I'm developer of this site, and the generation and download of the PDF has worked always OK in other browsers, but we've received a call from a client complaining that the download doesn't work on Edge.

 

Edge version: 89.0.774.75

best response confirmed by Xithias (New Contributor)
Solution
if you haven't already, please use the feedback button on Edge to report it to Edge developers or guide them to do it
I've done it, but for now, not answer.

I don't know if this can help: the MIME type I set for the embedded resource is "application/pdf".

If the resource is not embedded, then I use "application/download".
OK, the version 90.0.818.39 fixes the problem. I suppose, they have read my feedback :)
That's great ^^