Hi! I've this problem when I upload some PDF (not all time I've this errors):
- I browse a PDF file (I can read this file on acrobat!!)
- files uploaded
- when I try to open from server (download file and save or open on fly)... on acrobat (windows) I show corrupted file (abobe reader message)
- if I try to open the same with MAC .... i can read the file
I've tried with differents (windows) PC (Windows 7, Windows vista...) and I've the same problem
this is my code
if (UploadDIA.PostedFile != null)
{
string FileName = UploadDIA.PostedFile.FileName.Substring
(UploadDIA.PostedFile.FileName.LastIndexOf("\\") + 1);
int FileSize = UploadDIA.PostedFile.ContentLength;
string FileType = UploadDIA.PostedFile.ContentType;
if (IDAzienda > 0)
{
if (Fil ...
Go to the complete details ...