<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Auto-downloader</title>
		<link>http://www.allegro.cc/forums/view/594753</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 17 Jan 2008 05:03:44 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Alright I&#39;m writing a program using wget in C++. Now I need to know this:<br />Say I have a base webpage where all the downloads are, such as:</p><p><b>Base Page: 
www.coolvideos.com/funny/index?

All video downloads have links like:
www.coolvideos.com/funny/index?owned.wmv
www.coolvideos.com/funny/index?car.wmv
www.coolvideos.com/funny/index?arm.wmv
</b></p><p>Now, using wget, how can I have the program auto-magically download all the videos that are on the page <b>www.coolvideos.com/funny/index?</b> without entering the names in manually?</p><p><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 06:21:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not very familiar with <tt>wget</tt>, but I think you need to give it a file URL. If you gave it the URL for <tt>/funny/index</tt> you would more than likely download just that because the Web server would give <tt>wget</tt> what it asked for. What you need is to get a list of the files available at the URL so you can request them individually.</p><p>For example, DownThemAll, a Firefox extension lists all of the links in a Web page as well as the images. You can then select which ones you want to download. I don&#39;t think there is any way of automagically determining what files are available on any Web server. Some Web servers seem to be configured to give a directory listing when a directory is requested (and no default resource exists), however, that can&#39;t be relied upon.</p><p>Hopefully better replies will follow. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Tue, 15 Jan 2008 06:26:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes. Read wget --help for more information.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Tue, 15 Jan 2008 06:31:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">CGamesPlay said:</div><div class="quote"><p>
Yes. Read wget --help for more information.
</p></div></div><p>
Oh wow, it&#39;s so much more powerful than I thought it was. <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Tue, 15 Jan 2008 06:35:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can you stop starting 8 different threads (well you have 3 right now) that are all for the same purpose?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Tue, 15 Jan 2008 06:39:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>try curl. It&#39;s a program and a library.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Goalie Ca)</author>
		<pubDate>Tue, 15 Jan 2008 06:42:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks for the help,and I&#39;ll stop posting new threads.But now I got the project finished and I want to put it on another PC. But when I try to, it tells me the app failed to launch because it wasn&#39;t configed properly. I built the project for a release in MSVC, now what do I do?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 07:34:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Check <a href="http://www.allegro.cc/forums/thread/585600">here</a> and <a href="http://www.allegro.cc/forums/thread/593737">here</a> for wget help.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 07:39:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s not a problem with wget, it&#39;s a problem with me...I don&#39;t know how to release this binary and have it run properly on another machine, like what resources it needs..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 07:41:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Click <a href="http://sourceforge.net/project/downloading.php?groupname=gnuwin32&amp;filename=wget-1.10.1-bin.zip&amp;use_mirror=ufpr">here</a>, it should start downloading a zip package, unzip it and get <i>wget.exe</i>, that should be all you need. Now, the best you can do is creating a txt file with all the videos you want to download, one link per line, and execute <i>wget -i file.txt</i>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 07:51:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, the other machine already has wget.exe in WINDOWS. And it still says that the app wasn&#39;t configed properly. What am I missing? Are there certain dll&#39;s I need?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 07:55:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not really, try executing <i>wget <a href="http://www.google.com">http://www.google.com</a></i> to see what it does. Also, do <i>wget --version</i> to see which version is.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 07:57:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The wget on the other machine works fine, it&#39;s just that I can&#39;t run my c++ program on it..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 08:10:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah, and your program uses Allegro? Then you need alleg42.dll (or whichever version you used to compile the program). Also, if you compiled with Visual C++, the C++ runtime files (although you likely already have them, unless you are using a very new compiler and tried to run the executable in a very old computer).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 08:12:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nah..it doesn&#39;t use allegro..but it still refuses to operate. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 08:16:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can you tell me anything else other than &quot;refuses to operate&quot;? There are thousands of reasons about why the program would not run and, believe me, you don&#39;t want me to start enumerating them.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 08:23:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
</p><div class="quote_container"><div class="title">Goalie Ca said:</div><div class="quote"><p>
 try curl. It&#39;s a program and a library.
</p></div></div><p>

I mentioned this lib in a different thread =), I say let em&#39; fumble with wget.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (emupaul)</author>
		<pubDate>Tue, 15 Jan 2008 09:59:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What compiler did you use to compile the program?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Tue, 15 Jan 2008 10:43:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m using Visual Studio 9.0 (2008), so whatever compiler that comes with. I don&#39;t think that it&#39;s a real big, internal problem. I&#39;ve had this issue before and it was just a simple problem with some kind of dll&#39;s or other resources.</p><p>What I&#39;m doing is building the app as a release, than I&#39;m simply copying the output .exe into the LAN and pasting it onto the other machines desktop. When I try to run it, I get a window that says:</p><p><i>This application has failed to start because the application configuration is incorrect.</i></p><p><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 10:57:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thats your problem. You need the right MSVC runtime components on the other computer. I don&#39;t know much about it, but Matthew does.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Tue, 15 Jan 2008 11:02:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Compile with /MT to use the static runtime. If you use any other libraries, you&#39;ll have to compile them the same way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 15 Jan 2008 11:07:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>@BAF:</p><p>You&#39;re probably right, but then how come an allegro app runs fine on the other machine when all I need to include with the binary are the dll&#39;s and images, sounds etc. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p><p>@Mat:</p><p>/MT? What&#39;s that? <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 11:07:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://msdn2.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx">http://msdn2.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 15 Jan 2008 11:11:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm..so I changed the Runtime Library option to /MT, and I got lots of errors saying that functions were already defined in [fillintheblank].dll <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /> That&#39;s not supposed to happen! <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 11:22:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Do you a clean rebuild and heed my advice &quot;If you use any other libraries, you&#39;ll have to compile them the same way.&quot;
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 15 Jan 2008 11:24:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did a clean rebuild and that reduced some errors, but there still 4 unresolved externals. So..how do I recompile the other libs I&#39;m using with <i>MT? :-[ (don&#39;t know much about this kind of internal work..:-</i>)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 21:43:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Which unresolved externals? There could be thousands of those and, believe me, you don&#39;t want me start enumerating them.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Tue, 15 Jan 2008 22:45:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here they are:</p><p><i>
<b>Warning 2 warning LNK4098:</b> defaultlib &#39;LIBCMT&#39; conflicts with use of other libs; use /NODEFAULTLIB:library
<b>Auto-download</b>

<b>Error 3 error LNK2019:</b> unresolved external symbol __CrtDbgReportW referenced in function &quot;public: class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &amp; __thiscall std::vector&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator<char> &gt;,class std::allocator&lt;class std::basic_string&lt;char,struct std::char_traits<char>,class std::allocator<char> &gt; &gt; &gt;:: operator[](unsigned int)&quot; (??A?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@I@Z)	</char></char></char>
<b>Auto-download.obj</b>


<b>Error 4 error LNK2001:</b> unresolved external symbol __CrtDbgReportW         <b>libcpmtd.lib</b>

<b>Error 5 error LNK2001:</b> unresolved external symbol __CrtDbgReportW         <b>libcpmtd.lib</b>

<b>Error 6 error LNK2019:</b> unresolved external symbol __malloc_dbg referenced in function &quot;void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &amp;,char *,int)&quot; (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)	
<b>libcpmtd.lib</b>

<b>Error 7 error LNK2019:</b> unresolved external symbol __free_dbg referenced in function &quot;void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &amp;,char *,int)&quot; (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)	
<b>libcpmtd.lib</b>

<b>Error 8 error LNK2019:</b> unresolved external symbol __calloc_dbg referenced in function __Getctype	
<b>libcpmtd.lib</b>

<b>Error 9 fatal error LNK1120:</b> 4 unresolved externals	C:\Documents and Settings\Owner.Cortana\My Documents\Visual Studio 2008\Projects\Auto-download\Debug\Auto-download.exe	
<b>1</b>

</i></p><p><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Tue, 15 Jan 2008 22:55:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That&#39;s a debug library. /MT is static release, so you&#39;ve got some mixing of release types going on.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Wed, 16 Jan 2008 00:31:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>I&#39;m not getting this one bit..how do I find what release types are mixing?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Wed, 16 Jan 2008 05:04:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you don&#39;t know how to compile things properly, then you could go back to your original method (/MD) and just <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&amp;displaylang=en">install this</a> on whatever computer needs to run it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Wed, 16 Jan 2008 05:07:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow. Thanks! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Wed, 16 Jan 2008 05:15:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>All that work and no cookies? <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 16 Jan 2008 08:04:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh yeah!</p><p>http://www.chocolate-chip-cookie-recipes.com/images/chewy-chocolate-chip-cookies.jpg
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Wed, 16 Jan 2008 08:24:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>We mean a.cc cookies.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Thu, 17 Jan 2008 02:59:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well than, you should already have those shouldn&#39;t you? <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 17 Jan 2008 05:03:44 +0000</pubDate>
	</item>
</rss>
