By incrementing the keep alive timeout you should fix the issue.
Anyway the code you posted could not work:
* the output stream doesn't append to the file (there is a method for it)
* the exception is probably thrown on outputStream.write, so you should try
to write again the sa me byte array

Reply via email to