Downloading multiple files from one site July 12, 2010 07:56AM |
Registered: 14 years ago Posts: 12 |
Language: Javafor (int z=0; z<urls.size(); z++) { HttpMethod httpMethod = getMethodBuilder().setReferer(fileURL).setBaseURL("http://ex.ua").toGetMethod(); httpMethod.setURI(new URI(urls.get(z))); if (!tryDownloadAndSaveFile(httpMethod)) { logger.warning(getContentAsString()); throw new IOException("File input stream is empty"); } }
Re: Downloading multiple files from one site July 12, 2010 08:08AM |
Admin Registered: 19 years ago Posts: 2,425 |
Re: Downloading multiple files from one site July 13, 2010 06:58AM |
Registered: 14 years ago Posts: 12 |
Language: HTMLhttp://luxport.ru/get/2296247 http://luxport.ru/get/2296250 http://luxport.ru/get/2296252 http://luxport.ru/get/2296255 http://luxport.ru/get/2296258 http://luxport.ru/get/2296259
I get message INFO: The following files were added into the queue: but actually nothing is done.Language: JavagetPluginService().getPluginContext().getQueueSupport().addLinksToQueue(httpFile, urls);
Re: Downloading multiple files from one site July 13, 2010 07:38AM |
Admin Registered: 19 years ago Posts: 2,425 |
Re: Downloading multiple files from one site July 13, 2010 07:43AM |
Registered: 14 years ago Posts: 12 |
Re: Downloading multiple files from one site July 13, 2010 08:51AM |
Admin Registered: 15 years ago Posts: 2,094 |
[(www]\.)?(luxport\.ru|ex\.ua)/.+
only one file downloading and others are in queue? January 18, 2011 06:15PM |
Registered: 13 years ago Posts: 1 |