<?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[CFtpFileFind findet nix!! obwohl files vorhanden]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab folgenden Code (Auszug)<br />
--------------------------------------------------------------------------<br />
CString strServerurl = &quot;<a href="http://ftp.mitglied.lycos.de" rel="nofollow">ftp.mitglied.lycos.de</a>&quot;;<br />
CInternetSession session(&quot;Meine FTP-Sitzung&quot;);<br />
CFtpConnection* pConn = NULL;<br />
pConn = session.GetFtpConnection(strServerurl,username,password);</p>
<p>pConn-&gt;GetCurrentDirectoryAsURL(filename);<br />
MessageBox(filename); //*</p>
<p>CFtpFileFind *filefind = new CFtpFileFind(pConn);<br />
if(filefind-&gt;FindFile()) MessageBox(&quot;files gefunden&quot;);<br />
else<br />
MessageBox(&quot;findet nix!&quot;);<br />
delete filefind;<br />
delete pConn;<br />
session.Close();<br />
---------------------------------------------------------------------------<br />
Also bei * bringt mir die Ausgabe &quot;<a href="ftp://ftp.mitglied.lycos.de/" rel="nofollow">ftp://ftp.mitglied.lycos.de/</a>&quot; also bin ich doch im root-ordner oder?<br />
und filefind-&gt;FindFile() sucht laut MSDN nach <em>.</em> aber es wird nix gefunden!!!<br />
Den Ordner kann ich mit SetCurrentDirectory() wechseln -&gt; das klappt<br />
aber nix anders! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>was hab ich vergessen oder mach ich falsch?</p>
<p>Vielen Dank im Voraus! Tschüss</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6342/cftpfilefind-findet-nix-obwohl-files-vorhanden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 15:25:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6342.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Jun 2003 10:57:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CFtpFileFind findet nix!! obwohl files vorhanden on Thu, 26 Jun 2003 10:57:00 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab folgenden Code (Auszug)<br />
--------------------------------------------------------------------------<br />
CString strServerurl = &quot;<a href="http://ftp.mitglied.lycos.de" rel="nofollow">ftp.mitglied.lycos.de</a>&quot;;<br />
CInternetSession session(&quot;Meine FTP-Sitzung&quot;);<br />
CFtpConnection* pConn = NULL;<br />
pConn = session.GetFtpConnection(strServerurl,username,password);</p>
<p>pConn-&gt;GetCurrentDirectoryAsURL(filename);<br />
MessageBox(filename); //*</p>
<p>CFtpFileFind *filefind = new CFtpFileFind(pConn);<br />
if(filefind-&gt;FindFile()) MessageBox(&quot;files gefunden&quot;);<br />
else<br />
MessageBox(&quot;findet nix!&quot;);<br />
delete filefind;<br />
delete pConn;<br />
session.Close();<br />
---------------------------------------------------------------------------<br />
Also bei * bringt mir die Ausgabe &quot;<a href="ftp://ftp.mitglied.lycos.de/" rel="nofollow">ftp://ftp.mitglied.lycos.de/</a>&quot; also bin ich doch im root-ordner oder?<br />
und filefind-&gt;FindFile() sucht laut MSDN nach <em>.</em> aber es wird nix gefunden!!!<br />
Den Ordner kann ich mit SetCurrentDirectory() wechseln -&gt; das klappt<br />
aber nix anders! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>was hab ich vergessen oder mach ich falsch?</p>
<p>Vielen Dank im Voraus! Tschüss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30748</guid><dc:creator><![CDATA[Jörgsen]]></dc:creator><pubDate>Thu, 26 Jun 2003 10:57:00 GMT</pubDate></item></channel></rss>