<?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[Größe einer Remotedatei bekommen]]></title><description><![CDATA[<p>Hi,</p>
<p>ich würde gerne die Größe einer Datei vor dem Download ermitteln.<br />
(z.B. auf <a href="http://www.google.de/datei.zip" rel="nofollow">http://www.google.de/datei.zip</a>)</p>
<p>Leider geht es ja nicht so, wie mit lokalen Dateien:</p>
<pre><code class="language-cpp">FILE * stream = fopen( &quot;c:\\datei.exe&quot;, &quot;r&quot; );
fseek( stream, 0L, SEEK_END );
long endPos = ftell( stream );
fclose( stream );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/213815/größe-einer-remotedatei-bekommen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 09:52:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/213815.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 May 2008 13:31:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Größe einer Remotedatei bekommen on Thu, 22 May 2008 13:31:43 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich würde gerne die Größe einer Datei vor dem Download ermitteln.<br />
(z.B. auf <a href="http://www.google.de/datei.zip" rel="nofollow">http://www.google.de/datei.zip</a>)</p>
<p>Leider geht es ja nicht so, wie mit lokalen Dateien:</p>
<pre><code class="language-cpp">FILE * stream = fopen( &quot;c:\\datei.exe&quot;, &quot;r&quot; );
fseek( stream, 0L, SEEK_END );
long endPos = ftell( stream );
fclose( stream );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1514315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1514315</guid><dc:creator><![CDATA[Azbi]]></dc:creator><pubDate>Thu, 22 May 2008 13:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Remotedatei bekommen on Thu, 22 May 2008 17:22:32 GMT]]></title><description><![CDATA[<p>HttpQueryInfo m. HTTP_QUERY_CONTENT_LENGTH. Geht aber nur, wenn der jew. Webserver es unterstützt, ansonsten gibt es keine Möglichkeit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1514465</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1514465</guid><dc:creator><![CDATA[Wilhelm]]></dc:creator><pubDate>Thu, 22 May 2008 17:22:32 GMT</pubDate></item></channel></rss>