ProgramWindowJava

Pause and resume a download

i'm trying to figure out how to pause and resume a download. i'm working on an application that can transfer files between two or more computers and i'm kinda stuck on the pause and resume thing. i'm using a randomaccessfile for reading and writing the file so i can seek to a particular spot in the file and then start reading or writing, so i assume that that'll work for the pause and download for the file. no how do i do it with the socket and the output and input stream? could somebody tell me please. thanks...

[Previous] Creating COM wrapper
[Next] Image

Google


Java

Image
Java Swing JTree update content
Write objects to file using Externalizable
image displaying in jsp
Oracle VARRAY always returns '???' through JDBC
Changing Content in Container
Big troubles
clone an object without change class?
Loop converting to hex - please help
How to make http connection using java
code to create XML for content management
subtracting days from GregorianCalendar
Please! Help me...
Painting Problem
List<Sring> problem
Retrieve Japanese Characters from Database
Evaluate Sybase return code
file I/O on clients computer using JSP??
Help newbie,please!
Naming a tree node