Hi ,

I wanna send file to a mobile phone and i can.But i want to understand when client connection is failed.

I have tried

byte b ; // here omitted
catch(IOException ex){

This is running successfully when client connected over internet

But the point is when client aborted the downloading the code could not catch any IO exception.(Over WAP)

I guess, WAP gateway has a proxy between client side and server side , and data is cached by operator proxy. Right ?

Is there any alternative solution for this case or suggestion ?