<?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[wie kann man mit HTTP Request eine Datei herunterladen?]]></title><description><![CDATA[<p>die Suchefunktion laüft gerade nicht, jemand hat vielleicht schon die gleiche Frage gestellt.</p>
<p>Ich habe folgende Code geschrieben:</p>
<pre><code>TFileStream *file = new TFileStream(&quot;c:\\temp.exe&quot;,fmCreate);
    String url = &quot;http://....//project.exe&quot;;
    IdHTTP1-&gt;Get(url,file);
</code></pre>
<p>aber ich habe folgende Meldung bekommen:</p>
<p>&quot;Project project.exe raised exception class EIDSocketError with message 'Socket Error # 11004'. Process stopped, use step or run to continue&quot;</p>
<p>wie kann man mit HTTP Request eine Datei herunterladen?<br />
(Überings: die Datei unter dieser URL ist mit IE herunterladbar)</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/78733/wie-kann-man-mit-http-request-eine-datei-herunterladen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 03:06:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/78733.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Jul 2004 17:52:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Sun, 04 Jul 2004 17:54:02 GMT]]></title><description><![CDATA[<p>die Suchefunktion laüft gerade nicht, jemand hat vielleicht schon die gleiche Frage gestellt.</p>
<p>Ich habe folgende Code geschrieben:</p>
<pre><code>TFileStream *file = new TFileStream(&quot;c:\\temp.exe&quot;,fmCreate);
    String url = &quot;http://....//project.exe&quot;;
    IdHTTP1-&gt;Get(url,file);
</code></pre>
<p>aber ich habe folgende Meldung bekommen:</p>
<p>&quot;Project project.exe raised exception class EIDSocketError with message 'Socket Error # 11004'. Process stopped, use step or run to continue&quot;</p>
<p>wie kann man mit HTTP Request eine Datei herunterladen?<br />
(Überings: die Datei unter dieser URL ist mit IE herunterladbar)</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/553107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/553107</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Sun, 04 Jul 2004 17:54:02 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Sun, 04 Jul 2004 18:05:53 GMT]]></title><description><![CDATA[<p>fubin_22527 schrieb:</p>
<blockquote>
<pre><code>String url = &quot;http://....//project.exe&quot;;
</code></pre>
<p>(Überings: die Datei unter dieser URL ist mit IE herunterladbar)</p>
</blockquote>
<p>Diese URL, mit doppelten (Forward)Slashes, funktioniert mit Sicherheit auch im IE nicht.<br />
Der doppelte <strong>Back</strong>slash wird ausschliesslich bei den lokalen Pfadangaben von Win/DOS-Systemen benötigt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/553116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/553116</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 04 Jul 2004 18:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Mon, 05 Jul 2004 08:55:02 GMT]]></title><description><![CDATA[<p>sorry, ich habe die doppelten (Forward)Slashes falsch angegeben. Der URL sieht ungefähr so aus:</p>
<pre><code>String url = &quot;http://username:password@62.141.50.213/project.exe&quot;;
</code></pre>
<p>Mit IE ist es sicherlich herunterladbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/553408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/553408</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Mon, 05 Jul 2004 08:55:02 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Tue, 06 Jul 2004 17:35:45 GMT]]></title><description><![CDATA[<p>Kennt niemand das Problem? Bis jetzt habe ich es noch nicht gelöst.</p>
<p>folgende ist eine kopie von meinem Code:</p>
<pre><code>...
String url = &quot;http://username:password@ip_address/project.exe&quot;;
...
void TF_Update::download(String url, String fileName)
{
    TFileStream *fs = new TFileStream(fileName, fmCreate);
    IdHTTP1-&gt;Get(url, fs);
    delete fs;
}
</code></pre>
<p>Das URL-Link geht mit Internet Explorer, aber geht nicht mit Get() method von dem Komponent TIdHTTP, strange? <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=":confused:"
      alt="😕"
    /></p>
<p>Mit Google habe ich eine Erklärung für die Fehlermeldung 'Socket Error # 11004' gefunden:</p>
<blockquote>
<p>The requested name is valid, but does not have an Internet IP address at the name server. This is not a temporary error. This means another type of request to the name server will result in an answer.</p>
</blockquote>
<p>Kann jemand mir helfen?<br />
Danke im voraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/554700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/554700</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Tue, 06 Jul 2004 17:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Tue, 06 Jul 2004 18:38:11 GMT]]></title><description><![CDATA[<p>die Lösung habe ich selbst gefunden <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Property &quot;Request&quot; von TIdHTTP ist header info von ein HTTP Request. User ID, Server Name und Passwört soll man direkt hier eingeben. Dann läut es direkt mit dem Link ohne Username und Passwört e.g. http://ip_addresse/../kkkk.txt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/554732</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/554732</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Tue, 06 Jul 2004 18:38:11 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Fri, 06 Aug 2004 17:10:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/6525">@fubin_22527</a><br />
stell doch mal deinen fertigen Code um eine Datei herunterzuladen hier rein. Es interessiert mich wie das geht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/576980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/576980</guid><dc:creator><![CDATA[jumjum]]></dc:creator><pubDate>Fri, 06 Aug 2004 17:10:59 GMT</pubDate></item><item><title><![CDATA[Reply to wie kann man mit HTTP Request eine Datei herunterladen? on Fri, 06 Aug 2004 18:36:04 GMT]]></title><description><![CDATA[<p>Um zu erfahren, wie das funktioniert, braucht es keinen fertigen Code. Sieh dir einfach mal die angesprochene Request-Property von TIdHTTP an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/577027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/577027</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Fri, 06 Aug 2004 18:36:04 GMT</pubDate></item></channel></rss>