21
Views
10
Comments
Solved
 I am able to download the file, but  I am not able to read it.
Application Type
Traditional Web

Hello everyone!

 I am able to download the file, the only problem I am not able to read it. There are  file attachment  with four extensions in my application: ".pdf", ".doc",".docx",".xls" ".txt"  and I need to open and read. 

Please help!

Thanks in advance.

mvp_badge
MVP
Rank: #2
Solution

Hi Inna,

Did you check whether the file has any bytes in it? This error may also appear if the file size is 0 bytes.

Rank: #295

Hi,

There should be 2 possibility

1. The binary data is not correct

2. The mime-type is not correct (even though the extension is correct .docx etc)

You should check 2 of this

Thanks

Rank: #43019

Thanks so much! Will do!

mvp_badge
MVP
Rank: #2

Hi Inna,

When you say "not able to read", do you mean that the Office Applications can't open the file? What error do you get?

Rank: #1012

One possibility is that you are using Ajax Submit to download file. If so, please change to submit.

Rank: #1232

Hi Inna,

Where is the file you are to download stored / how are you trying to download it?


Champion
Rank: #40

check the downloaded file extension