<?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[FTP]]></title><description><![CDATA[<p>ich habe ein problem mit den FTP Funktionen der API:</p>
<p>HINTERNET hISession = InternetOpen(&quot;NAME&quot;,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0);<br />
HINTERNET hFTPSession = InternetConnect(hISession, (LPCSTR)&quot;<a href="http://ftp.strato.com" rel="nofollow">ftp.strato.com</a>&quot;,INTERNET_INVALID_PORT_NUMBER, (LPCSTR)&quot;XXX&quot;, (LPCSTR)&quot;XXX&quot;, INTERNET_SERVICE_FTP, 0,(DWORD)0);<br />
FtpPutFile(hFTPSession, &quot;file.xml&quot;, &quot;file.xml&quot;, FTP_TRANSFER_TYPE_BINARY, 0);</p>
<p>der code soll eigentlich nur eine datei auf einen FTP server laden. der Fehler dwird durch FtpPutFile verursacht....es gibt keine fehlermeldung. die funktion liedert aber FALSE zurück.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/171837/ftp</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 02:26:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/171837.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jan 2007 20:30:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FTP on Mon, 29 Jan 2007 20:30:09 GMT]]></title><description><![CDATA[<p>ich habe ein problem mit den FTP Funktionen der API:</p>
<p>HINTERNET hISession = InternetOpen(&quot;NAME&quot;,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0);<br />
HINTERNET hFTPSession = InternetConnect(hISession, (LPCSTR)&quot;<a href="http://ftp.strato.com" rel="nofollow">ftp.strato.com</a>&quot;,INTERNET_INVALID_PORT_NUMBER, (LPCSTR)&quot;XXX&quot;, (LPCSTR)&quot;XXX&quot;, INTERNET_SERVICE_FTP, 0,(DWORD)0);<br />
FtpPutFile(hFTPSession, &quot;file.xml&quot;, &quot;file.xml&quot;, FTP_TRANSFER_TYPE_BINARY, 0);</p>
<p>der code soll eigentlich nur eine datei auf einen FTP server laden. der Fehler dwird durch FtpPutFile verursacht....es gibt keine fehlermeldung. die funktion liedert aber FALSE zurück.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219424</guid><dc:creator><![CDATA[sad_shaggy]]></dc:creator><pubDate>Mon, 29 Jan 2007 20:30:09 GMT</pubDate></item><item><title><![CDATA[Reply to FTP on Mon, 29 Jan 2007 20:31:29 GMT]]></title><description><![CDATA[<blockquote>
<p>To get a specific error message, call GetLastError.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1219426</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219426</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 29 Jan 2007 20:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to FTP on Mon, 29 Jan 2007 21:26:14 GMT]]></title><description><![CDATA[<p>hab ich schon gemacht...da kommt 0 raus...was mich verwirrt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219450</guid><dc:creator><![CDATA[sad_shaggy]]></dc:creator><pubDate>Mon, 29 Jan 2007 21:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to FTP on Mon, 29 Jan 2007 21:45:59 GMT]]></title><description><![CDATA[<p>Zeigt das &quot;Current&quot;-Directory evtl. auf nen anderes Verzeichnis wo die &quot;file.xml&quot; nicht drin liegt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219465</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219465</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Mon, 29 Jan 2007 21:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to FTP on Tue, 30 Jan 2007 14:58:09 GMT]]></title><description><![CDATA[<p>Hast du schreib rechte auf dem ftp server??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219872</guid><dc:creator><![CDATA[secondsun*gmx.de]]></dc:creator><pubDate>Tue, 30 Jan 2007 14:58:09 GMT</pubDate></item><item><title><![CDATA[Reply to FTP on Tue, 30 Jan 2007 17:03:06 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">unsigned short upload_file(void) 
{
    HINTERNET hFtp = InternetOpen(TEXT(&quot;NAME&quot;), INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);

    if (hFtp == NULL)
        return 1; // Die Url soll stimmen? ;)

    hFtp = InternetConnect(hFtp, TEXT(&quot;ftp.strato.com&quot;), INTERNET_DEFAULT_FTP_PORT,  TEXT(&quot;XXX&quot;), TEXT(&quot;XXX&quot;), INTERNET_SERVICE_FTP, 0, (DWORD)0);

    if (hFtp == NULL)
        return 2; // Es konnte keine Verbindung hergestellt werden...

    if (FtpPutFile(hFtp, TEXT(&quot;C:\\File.xml&quot;), TEXT(&quot;\\file.xml&quot;), FTP_TRANSFER_TYPE_BINARY, 0) == FALSE)
        return 3; // Datei konnte nicht hochgeladen werden.

    if (InternetCloseHandle(hFtp) == FALSE)
        return 4;

    return 0; // Alles ok
}
</code></pre>
<p>So ... das ist eigentlich so richtig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220011</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Tue, 30 Jan 2007 17:03:06 GMT</pubDate></item></channel></rss>