<?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[Keine großen Downloads mit idHttp???]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich möchte eine Datei von ca. 8MB Downloaden mit Indy idHTTP. Aber der Bricht einfach so ab und hängt sich auf. Ich mache das so. Kann man damit keine großen Dateien downloaden?</p>
<pre><code class="language-cpp">void __fastcall TMainForm::SpeedButton3Click(TObject *Sender)
{
  WideString url = (&quot;http://***/Test.exe&quot;);

   TMemoryStream *mem = new TMemoryStream();
   IdHTTP1-&gt;Get(url,mem);
   mem-&gt;SaveToFile(ExtractFilePath(ParamStr(0)) + &quot;Update.exe&quot;);
   delete mem;
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::IdHTTP1WorkBegin(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCountMax)
{
  AdvanceBar1-&gt;Max = AWorkCountMax;
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::IdHTTP1Work(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCount)
{
  AdvanceBar1-&gt;Position = AWorkCount;
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/105144/keine-großen-downloads-mit-idhttp</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 05:25:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/105144.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Mar 2005 19:16:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Keine großen Downloads mit idHttp??? on Sat, 26 Mar 2005 19:16:01 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich möchte eine Datei von ca. 8MB Downloaden mit Indy idHTTP. Aber der Bricht einfach so ab und hängt sich auf. Ich mache das so. Kann man damit keine großen Dateien downloaden?</p>
<pre><code class="language-cpp">void __fastcall TMainForm::SpeedButton3Click(TObject *Sender)
{
  WideString url = (&quot;http://***/Test.exe&quot;);

   TMemoryStream *mem = new TMemoryStream();
   IdHTTP1-&gt;Get(url,mem);
   mem-&gt;SaveToFile(ExtractFilePath(ParamStr(0)) + &quot;Update.exe&quot;);
   delete mem;
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::IdHTTP1WorkBegin(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCountMax)
{
  AdvanceBar1-&gt;Max = AWorkCountMax;
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::IdHTTP1Work(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCount)
{
  AdvanceBar1-&gt;Position = AWorkCount;
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/753343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/753343</guid><dc:creator><![CDATA[downy]]></dc:creator><pubDate>Sat, 26 Mar 2005 19:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to Keine großen Downloads mit idHttp??? on Sun, 27 Mar 2005 21:30:32 GMT]]></title><description><![CDATA[<p>downy schrieb:</p>
<blockquote>
<p>Aber der Bricht einfach so ab und hängt sich auf.</p>
</blockquote>
<p>Was heisst das genau?</p>
<p>Davon abgesehen solltest du auf jeden Fall ein TIdAntiFreeze auf die Form packen, oder den Download in einen eigenen Thread auslagern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/753928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/753928</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 27 Mar 2005 21:30:32 GMT</pubDate></item></channel></rss>