public int DownloadUrlPool(String destinationFolder, String fileName,
                               JProgressBar bar) {

        int availableURLs = 0;
        int retval = -1;
        int counter = 0;
        String[] urls;

        urls = getUrlList();
        if (urls == null) {
            logger.error("Cant read url file");
            return -1;
        }

        availableURLs = urls.length;
        while ((retval != 1) && (stopdownloading == false) && (counter != availableURLs)) {
            try {
                retval = Download(urls[counter] + fileName, destinationFolder, bar);

            } catch (IOException e) {
                logger.error("Cant download file: " + urls[counter] + fileName
                        + " [" + e.getMessage() + "]");
                logger.error(e.getMessage());
                Misc.logStacktrace(e);

            }
            counter++;
        }

        if (counter == availableURLs && retval == -1) {
            logger.error("No mirror available!");
            System.out.println("- ERROR! No Mirror is available.");
            retval = -1;
        }
        if (stopdownloading) {
            retval = 0;
            logger.info("Download aborted by user");
            System.out.println("- Info Download aborted by user");
        }

        return retval;
    }