Hi,
when uploading document, we are creating Cache with MemoryStream:
var dc = new DocumentCache(Server.MapPath(ConfigurationManager.AppSettings["document_groupdocs_licence_path"]),
Server.MapPath(ConfigurationManager.AppSettings["document_root_storage_path"]));
var bytes = Convert.FromBase64String(docContent);
var ms = new MemoryStream(bytes) {Position = 0};
dc.GenerateHtml(ms, filename, fileextension, true, null, null, false, true, false, true);
That works fine.
But when previewing that file, we are using:
FilePath(filename);
but that doesn't work.
How the View should look like , to preview already cached document generated with stream?
(we are using asp.net mvc)
Thanks.