Sending file from android client to server

kassy8 years ago

Hello, Anton,

I aim to record audio on the client and send it to the server. I've done the part with recording and now stuck with file receiving. On the client I'm writing bytes to httpurlconnection output stream, on the server I've added netty upload file handling code to the method messageReceived of MainEventHandler class. I'm getting java.io.FileNotFoundException on Android, could you please tell me what I'm doing wrong? Maybe the logic should be different? I didn't work with netty that's why I'm a bit confused. Thank you in advance.

Anton Tananaev8 years ago

I have never tried to send a large binary data stream, so I don't really know what could be the problem.