I can't seem to find the right method to check if a URL exists (it's not a HTTP 404).
Doesn't seem to work. URLs that don't exist still pass the if statement...?Code:InputStream input = url.OpenStream(); input = new BufferedInputStream(input); if(input.available() > 0) { //... }
Does anyone else know the solution to this problem?
Bookmarks