<?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[ganz einfacher datei-download]]></title><description><![CDATA[<p>Hallo,<br />
ich connecte per sockets mit einem c++ proggi auf meinem 2. rechner zu zu meinem ersten.<br />
als protokol nutze ich tcp.</p>
<p>wie kann ich einen datei download machen.<br />
also ich will, dass wenn ich meinem zweiten Rechner zb.:<br />
downl &quot;C:\uploads\hello.exe&quot;, &quot;C:\downloads\hello.exe&quot;<br />
schicke er diese hello.exe aus meinem uploads ordner in den downloads ordner meines 2. rechners runterläd.</p>
<p>also es geht hier nur um den download selbst.<br />
befehle schicken usw. kann ich schon.</p>
<p>mfg füsig</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/168957/ganz-einfacher-datei-download</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 03:04:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/168957.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Dec 2006 12:36:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 12:36:49 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich connecte per sockets mit einem c++ proggi auf meinem 2. rechner zu zu meinem ersten.<br />
als protokol nutze ich tcp.</p>
<p>wie kann ich einen datei download machen.<br />
also ich will, dass wenn ich meinem zweiten Rechner zb.:<br />
downl &quot;C:\uploads\hello.exe&quot;, &quot;C:\downloads\hello.exe&quot;<br />
schicke er diese hello.exe aus meinem uploads ordner in den downloads ordner meines 2. rechners runterläd.</p>
<p>also es geht hier nur um den download selbst.<br />
befehle schicken usw. kann ich schon.</p>
<p>mfg füsig</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1199833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1199833</guid><dc:creator><![CDATA[füsig]]></dc:creator><pubDate>Sat, 30 Dec 2006 12:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 13:25:07 GMT]]></title><description><![CDATA[<p>Ich versteh dein Problem nicht ganz...</p>
<p>Daten kannst du doch schon verschicken, oder?<br />
Wie du ne liest bzw. schreibst, weiß du auch?<br />
Du mußt halt nur nen Protokoll definieren wie<br />
Länge des Dateinamen, Dateiname, Länge der Daten, Daten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1199848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1199848</guid><dc:creator><![CDATA[Easybert]]></dc:creator><pubDate>Sat, 30 Dec 2006 13:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 13:26:03 GMT]]></title><description><![CDATA[<p>ups...</p>
<p>Sollte</p>
<p>Wie du ne Datei liest bzw. schreibst, weiß du auch?</p>
<p>heißen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1199849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1199849</guid><dc:creator><![CDATA[Easybert]]></dc:creator><pubDate>Sat, 30 Dec 2006 13:26:03 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 17:04:36 GMT]]></title><description><![CDATA[<p>soll ich einfach inhalt grösse usw. in variablen packen und das dann schicken?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1199978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1199978</guid><dc:creator><![CDATA[füsig]]></dc:creator><pubDate>Sat, 30 Dec 2006 17:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 17:25:03 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>grob gesagt : ja</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1199983</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1199983</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 30 Dec 2006 17:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 18:55:58 GMT]]></title><description><![CDATA[<p>ok danke,</p>
<p>dann brauche ich ne funktion, mit der man die Größe rausfindet und eine mit der man die Endung herausfindet.</p>
<p>mfg füsig</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1200027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1200027</guid><dc:creator><![CDATA[füsig]]></dc:creator><pubDate>Sat, 30 Dec 2006 18:55:58 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 19:08:34 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Mir kommt es vor, als ob du nicht wirklich weißt was wie zu tun ist.<br />
Da du den Inhalt einer Datei versenden willst, must du diese Datei auf jedenfall öffnen. Dazu kannst du std::ifstream nehmen, und damit bekommst du auch die Größe der Datei raus (Siehe die Methode seek).<br />
Und die Extension must du beim öffnen der Datei angeben, also liegt die schon in Stringform vor. Dann kannst du mit den Methoden der String-Klasse arbeiten (find, substr)</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1200033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1200033</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 30 Dec 2006 19:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 19:57:06 GMT]]></title><description><![CDATA[<p>komisch, dass es für die endung kene funktion gibt.<br />
naja egal ich hab mir ne exploit funktion geschrieben.<br />
damit geht so leicht wie beim schönen php. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>ich über legt grad ich hab dass ganze syncron laufen.</p>
<p>und da wäre so etw, wie ne %-anzeige des downloads nicht mögl. oder?</p>
<p>mfg füsig</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1200057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1200057</guid><dc:creator><![CDATA[füsig]]></dc:creator><pubDate>Sat, 30 Dec 2006 19:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 20:16:07 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=10455" rel="nofollow">evilissimo</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1200071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1200071</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 30 Dec 2006 20:16:07 GMT</pubDate></item><item><title><![CDATA[Reply to ganz einfacher datei-download on Sat, 30 Dec 2006 20:39:01 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>selbstverständlich ist auch eine Fortschrittsanzeige möglich. Sende die Daten aufgeteilt in festen Blöcken (zum Beispiel 1024 Byte), so das innerhalb der dann nötigen Schleife nach jedem einzelnem Block eine Berechnung und Ausgabe des Fortschritts gemacht werden kann.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1200080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1200080</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 30 Dec 2006 20:39:01 GMT</pubDate></item></channel></rss>