I'm trying to create a program that will download only a portion of a file. From everything I could find on the subject I'm doing it correctly, but the program still downloads the entire file. What have I done wrong? Is it possible to do what I'm trying to do with Java? Can someone please point me in the right direction? Thank you. The code is below. Also, it doesn't seem to matter if the server supports response or not.