This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I need to download file from certain url address and write it to file on my local disk. The file being downloaded is a image file and therefore I cannot make sure what encoding should I use. When I save file manually on disk and compare it with the file written programmatically, then the bytes in both files are not equal. Any smart advises are welcome.