When loading a URL to the viewer that contains a “~”
i.e. - https://www.infoportal4.com/demoserver/docs/~D14716
the file name that gets saved in the temp directory is:
This cause the issue of loading the same file from the cache.
Is it possible to add a new parameter to the .URL call?
You can use the URL above for testing.
We are sorry to hear that you have such issue.
/use something like this/
.Stream(HttpWebRequest.Create(“https://www.infoportal4.com/demoserver/docs/~D14716”).GetResponse().GetResponseStream(), “Faktura.pdf”, “pdf”, “Faktura.pdf”, false)
The last Boolean parameter “tells” the GroupDocs.Viewer not to use public cached stream contents if possible.
If you will have more questions please feel free to contact us.
Thanks. It works great like that