But What is the CAUSE of this exception ? I have been trying to debug it for quite some time.

java.io.IOException: Broken pipe
>         at java.net.SocketOutputStream.socketWrite(Native Method)
>         at java.net.SocketOutputStream.socketWrite(Compiled Code)
>         at java.net.SocketOutputStream.write(Compiled Code)
>         at org.w3c.jigsaw.http.socket.SocketOutputBuffer.write(Compiled
> Code)
>         at java.io.DataOutputStream.write(Compiled Code)
>         at org.w3c.jigsaw.http.Client.chunkTransfer(Compiled Code)
>         at org.w3c.jigsaw.http.Client.emitReply(Compiled Code)
>         at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
>         at org.w3c.jigsaw.http.socket.SocketClient.run(Compiled Code)
>         at org.w3c.util.CachedThread.run(Compiled Code)

I got this when i am transfering the files. It transferred after MB of data has been transferred.

Exception after bytes recieved-> 175592
IOException-> Broken pipe
java.io.IOException: Broken pipe
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:116)
at com.oroinc.io.Util.copyStream(Util.java)
at com.oroinc.io.Util.copyStream(Util.java)
at com.oroinc.net.ftp.FTPClient.__storeFile(FTPClient.java)
at com.oroinc.net.ftp.FTPClient.storeFile(FTPClient.java)



Thanks
Amit