<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CFtpConnection kann nur eine Datei gleichzeitig runterladen]]></title><description><![CDATA[<p>Hi Leute,<br />
ich hab ein Problem: Wenn ich per CFtpConnection mehrere Dateien herunterladen möchte geht das nicht, da nach CFtpConnection::OpenFile nur noch Read, Write, Close und Close zulässig sind. Ich kann aber auch keine zweite FtpConnection aufmachen, da der Server nur eine Verbindung pro Host erlaubt. Ich muss aber mehrere Dateien<br />
gleichzeitig herunterladen können. Hat jemand ne Idee, wie ich das anstellen könnte?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/50553/cftpconnection-kann-nur-eine-datei-gleichzeitig-runterladen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 09:02:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/50553.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Oct 2003 05:43:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Wed, 01 Oct 2003 05:43:01 GMT]]></title><description><![CDATA[<p>Hi Leute,<br />
ich hab ein Problem: Wenn ich per CFtpConnection mehrere Dateien herunterladen möchte geht das nicht, da nach CFtpConnection::OpenFile nur noch Read, Write, Close und Close zulässig sind. Ich kann aber auch keine zweite FtpConnection aufmachen, da der Server nur eine Verbindung pro Host erlaubt. Ich muss aber mehrere Dateien<br />
gleichzeitig herunterladen können. Hat jemand ne Idee, wie ich das anstellen könnte?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/363886</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/363886</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Wed, 01 Oct 2003 05:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Wed, 01 Oct 2003 17:01:02 GMT]]></title><description><![CDATA[<p>Hi!<br />
Probier mal <a href="http://www.codeguru.com/internet/ftpget.html" rel="nofollow">http://www.codeguru.com/internet/ftpget.html</a></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/364528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/364528</guid><dc:creator><![CDATA[mike84]]></dc:creator><pubDate>Wed, 01 Oct 2003 17:01:02 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Wed, 01 Oct 2003 19:46:57 GMT]]></title><description><![CDATA[<p>ne ...</p>
<p><a href="http://www.codeguru.com/" rel="nofollow">http://www.codeguru.com/</a> schrieb:</p>
<blockquote>
<pre><code class="language-cpp">int CFtpGet::GetMultipleFile(CStringArray *remoteArray,
							 CStringArray *localArray,
							 int number_file)
{
	// init some var
	BOOL goodfile;
	int x=0;
	int nb_lost_file =0;

	// while loop to transfer every file in the array
	while(x&lt;number_file)
	{
		// try to get file
		goodfile = pFtpConnection-&gt;GetFile(remoteArray-&gt;GetAt(x),
			localArray-&gt;GetAt(x),
			FALSE,
			FILE_ATTRIBUTE_NORMAL,
			FTP_TRANSFER_TYPE_BINARY | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE);

		missed[x] = goodfile ? 0 : 1;
		// if failed, missed[x] become 1
		// if good, missed become 0
		if(missed[x])
			nb_lost_file++;
		// if the file was missed, increase the number of 
		// missing file.
		// increase to the next file
		x++;
	}
	//return the number of missing file, if any.
	return nb_lost_file;
}
</code></pre>
</blockquote>
<p>Der Code lädt die Dateien auch nur nacheinander runter ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/364639</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/364639</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Wed, 01 Oct 2003 19:46:57 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Fri, 03 Oct 2003 17:22:38 GMT]]></title><description><![CDATA[<p>Keine Ideen mehr?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365568</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Fri, 03 Oct 2003 17:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Fri, 03 Oct 2003 19:22:09 GMT]]></title><description><![CDATA[<p>Entweder öffnest du mehrere Sessions oder ziehst die Dateien nacheinander, anders geht es nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365620</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Fri, 03 Oct 2003 19:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 06:28:41 GMT]]></title><description><![CDATA[<p>FTP unterstütz den Befehl GET . Dieser lädt eine Datei unter Angabe des Filenamens runter. Wenn du alle runterladen möchtest dann musst du zuerst das DIR aufrufen und dann mehrere GET nacheinander machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365699</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365699</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Sat, 04 Oct 2003 06:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 09:09:04 GMT]]></title><description><![CDATA[<p>Ich weiss, wie ich mehrere Dateien NACHEINANDER herunterlade. Ich will sie aber GLEICHZEITIG herunterladen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365730</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365730</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 04 Oct 2003 09:09:04 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 16:23:27 GMT]]></title><description><![CDATA[<p>Dann musst du z.B. 2 Mal einen Connect aufbauen und dann ganze Threaden</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365918</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365918</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Sat, 04 Oct 2003 16:23:27 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 16:29:30 GMT]]></title><description><![CDATA[<p>dEUs schrieb:</p>
<blockquote>
<p>Ich kann aber auch keine zweite FtpConnection aufmachen, da der Server nur eine Verbindung pro Host erlaubt.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/365921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365921</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 04 Oct 2003 16:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 16:35:16 GMT]]></title><description><![CDATA[<p>Dann hast du dir die Antwort selbst gegeben. Es geht nicht.<br />
Wie soll es auch mit einem Socket gleichzeitig gehen.<br />
FTP ist nicht anderes als eine Socketverbindung. Da du nur eine Socketverbindung hast kann es auch nicht gleichzeitig gehen.<br />
Und zu FTP: Nich du lädtst die Datei runter sondern du gibst dem FTP-Server das Commando (GET) das er dir die Datei schicken soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365925</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Sat, 04 Oct 2003 16:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 16:36:13 GMT]]></title><description><![CDATA[<p>Schade ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365927</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 04 Oct 2003 16:36:13 GMT</pubDate></item><item><title><![CDATA[Reply to CFtpConnection kann nur eine Datei gleichzeitig runterladen on Sat, 04 Oct 2003 18:30:04 GMT]]></title><description><![CDATA[<p>dEUs schrieb:</p>
<blockquote>
<p>Schade ...</p>
</blockquote>
<p>Wer viel schreibt, weiß nicht viel, denkt selten nach und macht nix -&gt;*auf anzahl der beiträge schiel*<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>SCNR</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365992</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365992</guid><dc:creator><![CDATA[naja]]></dc:creator><pubDate>Sat, 04 Oct 2003 18:30:04 GMT</pubDate></item></channel></rss>