I have a client who is attempting to save a ppt from my server.
They are getting an error in Internet Explorer saying that the content type unkown is not a valid filetype and the file cannot be saved.
They are able to recieve ppt in email and open them and can also open in the browser a file that is already saved to disk on the server.
Is there something in my code that is not allowing them to get the streamed ppt or is it on their end?
Here is the code I use to push out the ppt
Dim file As String = DateTime.Now.ToString(“yyyyMMddHHmmss”) & “ppt.ppt”
Me.Response.ContentType = “application/vnd.ms-powerpoint”
Me.Response.AppendHeader(“Content-Disposition”, “attachment; filename=” & file)
Dim st As System.IO.Stream = Me.Response.OutputStream