Hi,
I wrote a servlet, which will read an xyz.exe file from the server and will send data 
to the client in chunks. I am sending the following MIME headers:

Content-type: application/octet-stream
Content-length: 1000
Content-Disposition: attachment;filename=xyz.exe"

By this the xyz.exe file is successfully downloaded, as the file size on the server 
and the downloaded file size are same. But when i execute the downloaded file, it says 
'the application failed to initalize properly (0xc000005)'. What could be the reasons? 
are some MIME headers missing, which i have to add?

Thanks in advance.
 p_varshney

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to