<?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[WinApi + FTP, InternetOpen Function]]></title><description><![CDATA[<p>Hallo !</p>
<p>Ich will versuchen mit der WinApi eine Verbindung zu einem FTP Server herzustellen und Dateien uploaden.</p>
<p>Ich habe in der MSDN die Funktion InternetOpen gefunden, welche man für eine FTP Session benötigt. <a href="http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx</a></p>
<p>Allerdings verstehe ich das erste Argument nicht:</p>
<blockquote>
<p><em>lpszAgent</em><br />
Pointer to a null-terminated string that specifies the name of the application or entity calling the WinINet functions. This name is used as the user agent in the HTTP protocol.</p>
</blockquote>
<p>Muss ich hier den Namen des Programmes angeben ?</p>
<p>Oder gibt es vielleicht eine ganz andere Möglichkeit eine FTP Verbindung herzustellen??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/220592/winapi-ftp-internetopen-function</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 14:01:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/220592.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Aug 2008 13:44:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WinApi + FTP, InternetOpen Function on Mon, 18 Aug 2008 13:44:29 GMT]]></title><description><![CDATA[<p>Hallo !</p>
<p>Ich will versuchen mit der WinApi eine Verbindung zu einem FTP Server herzustellen und Dateien uploaden.</p>
<p>Ich habe in der MSDN die Funktion InternetOpen gefunden, welche man für eine FTP Session benötigt. <a href="http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx</a></p>
<p>Allerdings verstehe ich das erste Argument nicht:</p>
<blockquote>
<p><em>lpszAgent</em><br />
Pointer to a null-terminated string that specifies the name of the application or entity calling the WinINet functions. This name is used as the user agent in the HTTP protocol.</p>
</blockquote>
<p>Muss ich hier den Namen des Programmes angeben ?</p>
<p>Oder gibt es vielleicht eine ganz andere Möglichkeit eine FTP Verbindung herzustellen??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1566950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1566950</guid><dc:creator><![CDATA[Gast123124]]></dc:creator><pubDate>Mon, 18 Aug 2008 13:44:29 GMT</pubDate></item><item><title><![CDATA[Reply to WinApi + FTP, InternetOpen Function on Mon, 18 Aug 2008 17:10:54 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>der Name den du da angibts is egal.<br />
Hier mal ein Bspl:</p>
<blockquote>
<p>GET /index.php HTTP/1.1<br />
Host: <a href="http://www.html-world.de" rel="nofollow">www.html-world.de</a><br />
User-Agent: <strong>Mozilla/4.0</strong><br />
Accept: image/gif, image/jpeg, <em>/</em><br />
Connection: close</p>
</blockquote>
<p>Wenn du jetzt &quot;Dein Programmname&quot; da angibts erscheit er im HTTP Request als User-Agent.</p>
<p>Alle Angaben ohne Gewähr.<br />
Gruß Pingu-Group</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1567087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1567087</guid><dc:creator><![CDATA[Pingu-Group]]></dc:creator><pubDate>Mon, 18 Aug 2008 17:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to WinApi + FTP, InternetOpen Function on Mon, 18 Aug 2008 17:21:52 GMT]]></title><description><![CDATA[<p>Ah ok danke !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1567095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1567095</guid><dc:creator><![CDATA[Gast12341]]></dc:creator><pubDate>Mon, 18 Aug 2008 17:21:52 GMT</pubDate></item></channel></rss>