When I upload CSV files to my development computer from my development
computer the content type is displayed as Output 1. However, if I
upload from another computer on my network using the EXACT same file,
I get Output 2. Can anyone tell me why that is? I just want to check
to see if the file being uploaded is of type CSV. I want this to work
from any computer on the network.
===========Code Snippet======== ===
HttpPostedFile file = UploadBox.Poste dFile;
Response.Write( file.ContentTyp e);
=============== =============== ==
============Out put 1==============
application/vnd.ms-excel
=============== =============== ==
============Out put 2==============
application/vnd.ms-excel
=============== =============== ==
Thank you,
King
computer the content type is displayed as Output 1. However, if I
upload from another computer on my network using the EXACT same file,
I get Output 2. Can anyone tell me why that is? I just want to check
to see if the file being uploaded is of type CSV. I want this to work
from any computer on the network.
===========Code Snippet======== ===
HttpPostedFile file = UploadBox.Poste dFile;
Response.Write( file.ContentTyp e);
=============== =============== ==
============Out put 1==============
application/vnd.ms-excel
=============== =============== ==
============Out put 2==============
application/vnd.ms-excel
=============== =============== ==
Thank you,
King
Comment