<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Downloading multiple files from one site</title>
        <description> Hello all!

How to add a few files to download queue ? (i've got a direct link to this files?). 

I'm creating plugin for [UA] sites ex.ua and luxport.ru (they are the same).
If i'm using:

Language: Javafor &amp;#40;int z=0; z&amp;lt;urls.size&amp;#40;&amp;#41;; z++&amp;#41;
           &amp;#123;
               HttpMethod httpMethod = getMethodBuilder&amp;#40;&amp;#41;.setReferer&amp;#40;fileURL&amp;#41;.setBaseURL&amp;#40;&amp;quot;http://ex.ua&amp;quot;&amp;#41;.toGetMethod&amp;#40;&amp;#41;;
               httpMethod.setURI&amp;#40;new URI&amp;#40;urls.get&amp;#40;z&amp;#41;&amp;#41;&amp;#41;;
&amp;nbsp;
               if &amp;#40;!tryDownloadAndSaveFile&amp;#40;httpMethod&amp;#41;&amp;#41; &amp;#123;
                logger.warning&amp;#40;getContentAsString&amp;#40;&amp;#41;&amp;#41;;
                throw new IOException&amp;#40;&amp;quot;File input stream is empty&amp;quot;&amp;#41;;
            &amp;#125;
           &amp;#125;

And i'm getting only one record in Freerapid app, for each download it is replaced. (working in 1 stream).
Can I add each of this links as separate download ?</description>
        <link>https://wordrider.net/forum/10/5446/5446/_subject_#msg-5446</link>
        <lastBuildDate>Thu, 09 Apr 2026 20:31:58 +0000</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>https://wordrider.net/forum/10/5446/7216/_subject_#msg-7216</guid>
            <title>only one file downloading and others are in queue?</title>
            <link>https://wordrider.net/forum/10/5446/7216/_subject_#msg-7216</link>
            <description><![CDATA[ the problem happen in fileserver.com only and others are good?]]></description>
            <dc:creator>monitor71</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 18 Jan 2011 18:15:30 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5475/_subject_#msg-5475</guid>
            <title>Re: Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5475/_subject_#msg-5475</link>
            <description><![CDATA[ As Vity said, the URLs must be supported. You are adding ex.ua links, but they are not supported by any plugin.<br />
<br />
Change the urlRegex in plugin.xml to this if Luxport and Ex are the same thing:<br />
<br />
<pre class="bbcode">
[<a href="http://(www" rel="nofollow" >(www</a>]\.)?(luxport\.ru|ex\.ua)/.+</pre>
<br />
Also, please don't use URL.openStream() when we have HttpClient.]]></description>
            <dc:creator>ntoskrnl</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 13 Jul 2010 08:51:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5473/_subject_#msg-5473</guid>
            <title>Re: Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5473/_subject_#msg-5473</link>
            <description><![CDATA[ Yes, downloading single file wih this link is ok. <br />
<br />
Please find soucecode for this plugin attached. <br />
<br />
Also I will update you checkSize method, because file size on this site is something like this "1,139,758" which is not supported by plugin.]]></description>
            <dc:creator>saikek</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 13 Jul 2010 07:43:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5472/_subject_#msg-5472</guid>
            <title>Re: Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5472/_subject_#msg-5472</link>
            <description><![CDATA[ Added URLs must be supported. Are you sure that they are supported?]]></description>
            <dc:creator>Vity</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 13 Jul 2010 07:38:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5471/_subject_#msg-5471</guid>
            <title>Re: Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5471/_subject_#msg-5471</link>
            <description><![CDATA[ Vity Wrote:<br />
-------------------------------------------------------<br />
&gt; Look at FAQ in wiki.<br />
<br />
Not working... <br />
I've read FAQ, look at the usage of sourcecode from other plugins, but still nothing.<br />
<br />
URIs have a structure similar to this:<br />
<pre class="bbcode_geshi"><div class="head">Language: HTML</div>http://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</pre>
<br />
<br />
After using method:<br />
<pre class="bbcode_geshi"><div class="head">Language: Java</div>getPluginService<span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">getPluginContext</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">getQueueSupport</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">addLinksToQueue</span><span class="br0">&#40;</span>httpFile, urls<span class="br0">&#41;</span>;</pre>
I get message INFO: The following files were added into the queue: but actually nothing is done.<br />
When testing this plugin in FreeRapid, it shows only one download which actually downloads nothing.]]></description>
            <dc:creator>saikek</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 13 Jul 2010 06:58:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5447/_subject_#msg-5447</guid>
            <title>Re: Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5447/_subject_#msg-5447</link>
            <description><![CDATA[ Look at FAQ in wiki.]]></description>
            <dc:creator>Vity</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Mon, 12 Jul 2010 08:08:02 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/5446/5446/_subject_#msg-5446</guid>
            <title>Downloading multiple files from one site</title>
            <link>https://wordrider.net/forum/10/5446/5446/_subject_#msg-5446</link>
            <description><![CDATA[ Hello all!<br />
<br />
How to add a few files to download queue ? (i've got a direct link to this files?). <br />
<br />
I'm creating plugin for [UA] sites ex.ua and luxport.ru (they are the same).<br />
If i'm using:<br />
<br />
<pre class="bbcode_geshi"><div class="head">Language: Java</div><span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw4">int</span> z=<span class="nu0">0</span>; z&lt;urls.<span class="me1">size</span><span class="br0">&#40;</span><span class="br0">&#41;</span>; z++<span class="br0">&#41;</span>
           <span class="br0">&#123;</span>
               HttpMethod httpMethod = getMethodBuilder<span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">setReferer</span><span class="br0">&#40;</span>fileURL<span class="br0">&#41;</span>.<span class="me1">setBaseURL</span><span class="br0">&#40;</span><span class="st0">&quot;http://ex.ua&quot;</span><span class="br0">&#41;</span>.<span class="me1">toGetMethod</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
               httpMethod.<span class="me1">setURI</span><span class="br0">&#40;</span><span class="kw2">new</span> URI<span class="br0">&#40;</span>urls.<span class="me1">get</span><span class="br0">&#40;</span>z<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;
&nbsp;
               <span class="kw1">if</span> <span class="br0">&#40;</span>!tryDownloadAndSaveFile<span class="br0">&#40;</span>httpMethod<span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
                logger.<span class="me1">warning</span><span class="br0">&#40;</span>getContentAsString<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;
                <span class="kw2">throw</span> <span class="kw2">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AIOException+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">IOException</span></a><span class="br0">&#40;</span><span class="st0">&quot;File input stream is empty&quot;</span><span class="br0">&#41;</span>;
            <span class="br0">&#125;</span>
           <span class="br0">&#125;</span></pre>
<br />
And i'm getting only one record in Freerapid app, for each download it is replaced. (working in 1 stream).<br />
Can I add each of this links as separate download ?]]></description>
            <dc:creator>saikek</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Mon, 12 Jul 2010 07:56:09 +0000</pubDate>
        </item>
    </channel>
</rss>
