|
Rank: Newbie Groups: Member
Joined: 3/27/2011 Posts: 2
|
I have installed the downloader and set the file path and link it to a button, it works fine in IE put when I download the file with google chrome I get an error when the application (word, adobe,.. ) tries to open it.
When I use the Response methods it works fine in both: Response.AppendHeader("Content-Disposition", "attachment; filename=" & strFileName & "") Response.TransmitFile(Server.MapPath("~/Clients/Docs/" & strFileName & "")) Response.End()
What am I doing wrong? Do I have to set the Content-Disposition for the files even if they are standard and require no arguements? I am using asp.net and VB.Net and a full licensed version of your product.
Thanks Ray Fischer
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You shouldn't need to set Content-Disposition because the downloader should do that for you as long as you specify a file name (for example, by setting SaveAsFileName). Do you get the same error if you save the file to somewhere and then open it with Word?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/27/2011 Posts: 2
|
That is what I thought, it works fine out of IE, but I get this error from Chrome says the file is either not supported or damaged. I set the saveasfilename and it made no difference. I get the same error if I save it to the drive and then open it.
Any ideas? Thanks Ray
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have not been able to reproduce the problem. You may want to try from another machine to see whether it is related to your specific installation of Chrome. We will also be happy to take a look if you have the site online.
Thanks!
|
|