My project is client-server architecture. client is java swings application and server web apps (Tomcat). From my swings application i am uploading a file to server using http url connection. It happens that sometime client loose internet connection while upload the file(half way).
Now my question is how can i re-send the rest of the file content.
If suppose 100 bytes are transferred then i want to send from 101 bytes to end of the file.
Any idea how to implement this..using http connection.
I don't think you can resend the "rest of the file". If the connection keeps breaking, maybe it's possible for you to break up the file into smaller pieces, then recombine them into a bigger file on the other end. -stan