We are trying to upload
doc (ms
word document) or text files with and without graphics using servletinputstream. The upload is okay whereas when you view the uploaded file it looks garbled, whereas zips, pdf and ini files are okay.
-----------------------------7d319f4580644
Content-Disposition: form-data; name="FILE1"; filename="C:\Data\mydoc.doc" Content-Type: application/msword
��� � > �� ! # ���� ��������������������������������������������������
����������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������
��������������������������������������������������
��������������������������������������������������
��������������������������������������������������
�������������������������������
Can someone sugguest a way to exporting the doc and text files without corrupting it. One of the reasons to used servletinputstream to accomadate very large size upto 1 to 2 GBytes.
Any help is appreciated,
thanks