I have a program that I've been working on that downloads files. Everything works perfectly, unless a user is using AVG. Oddly enough, it seems that in order to fix the issue AVG's "Email Protection" must be disabled; adding either my program or the JRE to an exceptions list doesn't work.
I am downloading content through the use of a BufferedInputStream obtained from a URL. Users have been reporting that the download process starts fine, but freezes ~5%-15% in (it varies). The download progress is shown with a JProgressBar.
Is there any way to avoid this? It's a pain having to deal with it case by case...
URL downloadURL = new URL(link);
where link is a String of the form "http://domain.com/stuff/stuff.png
" – Endurable