<?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[Online Update]]></title><description><![CDATA[<p>Hallo,<br />
ich bin ein anfänger in C++ Programmierung und habe 2 fragen</p>
<p>meine erste frage ist:<br />
Wie schaffe ich es das auf Button Klick eine Datei aus dem Internet geladen wird (bestimmte Datei die das programm updated) und direkt in den ordner reinladet in dem die datei benötigt wird</p>
<p>Ich brauche die volel Anleitung ich habe dafür keinen Ansatz.</p>
<p>meine zweite frage:<br />
wie programmiert man das dateien in einen bestimmten ordner kopiert werden à la Installation von größeren Programmen (also z.b. in den C:\Programme\ ordner)</p>
<p>Schon mal danke im voraus hoffe das mir jemand helfen kann</p>
<p>MfG Tomo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/136414/online-update</link><generator>RSS for Node</generator><lastBuildDate>Sun, 02 Aug 2026 03:28:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136414.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Feb 2006 20:36:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Online Update on Thu, 09 Feb 2006 20:36:36 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich bin ein anfänger in C++ Programmierung und habe 2 fragen</p>
<p>meine erste frage ist:<br />
Wie schaffe ich es das auf Button Klick eine Datei aus dem Internet geladen wird (bestimmte Datei die das programm updated) und direkt in den ordner reinladet in dem die datei benötigt wird</p>
<p>Ich brauche die volel Anleitung ich habe dafür keinen Ansatz.</p>
<p>meine zweite frage:<br />
wie programmiert man das dateien in einen bestimmten ordner kopiert werden à la Installation von größeren Programmen (also z.b. in den C:\Programme\ ordner)</p>
<p>Schon mal danke im voraus hoffe das mir jemand helfen kann</p>
<p>MfG Tomo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990494</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990494</guid><dc:creator><![CDATA[Tomo]]></dc:creator><pubDate>Thu, 09 Feb 2006 20:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Thu, 09 Feb 2006 21:00:43 GMT]]></title><description><![CDATA[<p>Frage eins:<br />
Stichwort HTTP Get. Die Suche des Forums wird Dir helfen</p>
<p>Frage Zwei:<br />
CopyFile(Source, Dest) - Hilfe!</p>
<p>Gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990514</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990514</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Thu, 09 Feb 2006 21:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Thu, 09 Feb 2006 21:48:06 GMT]]></title><description><![CDATA[<p>Rostfrei[] schrieb:</p>
<blockquote>
<p>Frage eins:<br />
Stichwort HTTP Get. Die Suche des Forums wird Dir helfen</p>
<p>Frage Zwei:<br />
CopyFile(Source, Dest) - Hilfe!</p>
<p>Gruss</p>
</blockquote>
<p>Erstmal danke für die Antwort</p>
<p>Zu 1: Die Suche hat mir nicht wirklich geholfen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /><br />
Zu 2: Wenn ich CopyFile(oldfile,newfile) eingebe und compilieren will steht dort das noch ein Parameter fehlt (int bFailIfExists) ich weiß nur nicht was ich damit anfange.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990541</guid><dc:creator><![CDATA[Tomo]]></dc:creator><pubDate>Thu, 09 Feb 2006 21:48:06 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Thu, 09 Feb 2006 21:55:37 GMT]]></title><description><![CDATA[<p>also zu CopyFile:</p>
<p>Es steht eigentlich alles in der Hilfe</p>
<blockquote>
<pre><code class="language-cpp">BOOL CopyFile(

    LPCTSTR lpExistingFileName,	// pointer to name of an existing file 
    LPCTSTR lpNewFileName,	// pointer to filename to copy to 
    BOOL bFailIfExists 	// flag for operation if file exists 
   );
</code></pre>
<p>Parameters</p>
<p>lpExistingFileName</p>
<p>Points to a null-terminated string that specifies the name of an existing file.</p>
<p>lpNewFileName</p>
<p>Points to a null-terminated string that specifies the name of the new file.</p>
<p>bFailIfExists</p>
<p>Specifies how this operation is to proceed if a file of the same name as that specified by lpNewFileName already exists. If this parameter is TRUE and the new file already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.</p>
<p>Return Values</p>
<p>If the function succeeds, the return value is nonzero.</p>
</blockquote>
<p>Problem zwei:</p>
<pre><code class="language-cpp">TFileStream *myStream = new TFileStream(Pfad, fmCreate);
     try {
       IdHTTP1-&gt;Get(URL, myStream);
     }
     catch(...) {
       // Fehlerbehandlung
     }

     delete myStream;
</code></pre>
<p>Gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990542</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990542</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Thu, 09 Feb 2006 21:55:37 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Fri, 10 Feb 2006 12:01:46 GMT]]></title><description><![CDATA[<p>Auch wenn die Frage schon beantwortet wurde:</p>
<p>Tomo schrieb:</p>
<blockquote>
<p>Zu 2: Wenn ich CopyFile(oldfile,newfile) eingebe und compilieren will steht dort das noch ein Parameter fehlt (int bFailIfExists) ich weiß nur nicht was ich damit anfange.</p>
</blockquote>
<p>Was genau an &quot;Fail if exists&quot; (jetzt mal mit Leerzeichen geparst) verstehst du denn nicht? Bist du der englischen Sprache mächtig? Falls du solche eindeutigen Fehlermeldungen schon nicht deuten kannst, wie lange soll es denn dann dauern, bis du mit der nächsten Frage kommst (zumal du, wie schon gesagt, auch einmal einen Blick in die Hilfe hättest werfen können)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/990830</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/990830</guid><dc:creator><![CDATA[Reyx]]></dc:creator><pubDate>Fri, 10 Feb 2006 12:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Fri, 10 Feb 2006 17:29:29 GMT]]></title><description><![CDATA[<p>Der will nur ne Lösung abstauben, mit der er dann bei irgendwem angeben kann. Am besten wäre es, wenn er Source- und Programm irgendwo runterladen könnte... <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>
]]></description><link>https://www.c-plusplus.net/forum/post/991080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991080</guid><dc:creator><![CDATA[GeizIstGeil]]></dc:creator><pubDate>Fri, 10 Feb 2006 17:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 18:44:42 GMT]]></title><description><![CDATA[<p>Ich hab jemanden gefunden der mir helfen konnte<br />
1: URLDownloadToFile(0, &quot;<a href="http://abx.de/datei" rel="nofollow">http://abx.de/datei</a>&quot;, &quot;C:\\Ordner1\\Ordner2&quot;, 0, 0)<br />
2: Wurde sowieso hier im Forum geklärt</p>
<p>Danke an alle die mir sinnvolle Antworten gegeben haben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/991745</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991745</guid><dc:creator><![CDATA[Tomo]]></dc:creator><pubDate>Sat, 11 Feb 2006 18:44:42 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 21:34:23 GMT]]></title><description><![CDATA[<p>Da das jetzt geklärt ist... ^^<br />
...frage ich mal nach wie man dateien uploaden kann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991886</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991886</guid><dc:creator><![CDATA[Tomo]]></dc:creator><pubDate>Sat, 11 Feb 2006 21:34:23 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 22:28:45 GMT]]></title><description><![CDATA[<p>Hmpf!</p>
<p>Forum Suchfunktion mit FTP?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991922</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Sat, 11 Feb 2006 22:28:45 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 22:32:26 GMT]]></title><description><![CDATA[<p>ich schätze ich kann dir geben was du begeherst nur du musst entscheiden ob du den Source nimmst und direkt verarbeitest oder versuchst ihn zu verstehn und auf dich zushcneidest. egal wenn du noch interessehast geb ich di ein project mit dem man dateien down und uploaden kann.<br />
mfg Maxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991926</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Sat, 11 Feb 2006 22:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 23:08:33 GMT]]></title><description><![CDATA[<p>Maxmann schrieb:</p>
<blockquote>
<p>ich schätze ich kann dir geben was du begeherst nur du musst entscheiden ob du den Source nimmst und direkt verarbeitest oder versuchst ihn zu verstehn und auf dich zushcneidest. egal wenn du noch interessehast geb ich di ein project mit dem man dateien down und uploaden kann.<br />
mfg Maxmann</p>
</blockquote>
<p>Also ich will es schon verstehen damit ich es auch immer wieder anwenden kann und nicht nur denke 'Ach da hab ich ja den Source kopier ich halt ma' <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>Rostfrei[] schrieb:</p>
<blockquote>
<p>Hmpf!</p>
<p>Forum Suchfunktion mit FTP?!</p>
</blockquote>
<p>da gibts nur nen thread wo maxmann hilfe suchte ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991942</guid><dc:creator><![CDATA[Tomo]]></dc:creator><pubDate>Sat, 11 Feb 2006 23:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to Online Update on Sat, 11 Feb 2006 23:36:19 GMT]]></title><description><![CDATA[<p>Bei der Suche nach FTP kommen bei mir bereits über 10 Treffer.</p>
<p>Schaue in der Hilfe nach NMFTP oder nach IdFTP.</p>
<p>Gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991950</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Sat, 11 Feb 2006 23:36:19 GMT</pubDate></item></channel></rss>