Article View: borland.public.cppbuilder.internet.socket
Article #909Re: Problem using TIdFTP in C++ Builder 2007. List() doesn't work
From: Star
Date: Fri, 24 Aug 2007 09:57
Date: Fri, 24 Aug 2007 09:57
17 lines
1616 bytes
1616 bytes
Just in case somebody has this problem, I finally found the solution. Unfortunately it wasn't as simple as Remy said (just adding the right .hpp header in your file), and I had to do the following: 1. Go to the Indy website and download the Indy 10 package. 2. Find the file IdAllFTPListParsers.pas and add it to your project (this file doesn't come with C++ Builder 2007 by default) 3. Go to the properties of your file and add this to the Include Path and Library Path: C:\Program Files\CodeGear\RAD Studio\5.0\lib\Indy10 And that's it. Now IdFTP1->DirectoryListing->Count will not return 0. Hope it helps.
Technical Details
Message-ID:
<46ceab8d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!tethys.csu.net!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46a108f5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f37f99fb538f42a3 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 24 Aug 2007 11:57:28 +0200 From: Star <noemail@noemail.com> User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Problem using TIdFTP in C++ Builder 2007. List() doesn't work References: <46a108f5$1@newsgroups.borland.com> In-Reply-To: <46a108f5$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 209.227.134.122 Message-ID: <46ceab8d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1187949453 209.227.134.122 (24 Aug 2007 02:57:33 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!tethys.csu.net!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail