开发者

How can I build an internet download manager in Java?

开发者 https://www.devze.com 2023-02-06 08:28 出处:网络
I am building an Internet Download Manager using java. How do I get the file size from server? Also, is there a way to divide the file into 开发者_StackOverflow社区partitions so that I can download

I am building an Internet Download Manager using java.

How do I get the file size from server? Also, is there a way to divide the file into 开发者_StackOverflow社区partitions so that I can download them in parallel?


First part of your Question:

http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLConnection.html

URL.openConnection().getContentLength()

0

精彩评论

暂无评论...
验证码 换一张
取 消