I am downloading zip file from web server using Java but somehow I am loosing about 2kb in each file. I don\'t know why since same code works fine with other formats, e.g, text,
It should be as below:
while ((count = in.read(b)) >= 0)
in.read can return 0.
in.read
0