Article View: borland.public.cppbuilder.internet.socket
Article #1283Re: IdFTP1->List problem
From: David Ayre
Date: Thu, 15 Feb 2007 10:07
Date: Thu, 15 Feb 2007 10:07
25 lines
1655 bytes
1655 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"David Ayre" <davidcayre@ntlworld.com> wrote in message >news:45d30c11$1@newsgroups.borland.com... > >> I am using Indy 9 with BDS 2006 but have found a problem >> with the ftp module when I use IdFTP1->List(SL,"",false); If >> there is nothing in the folder it crashes. > >The server is likely sending back a faulty reply. Look at the "Indy >FTP Response Codes for NLST" discussion in the >"borland.public.delphi.internet.winsock" newsgroup from last night. > > >Gambit > > I've had a look at the NLST discussion but couldn't glean anything that would help me. If the server gives the wrong response to IdFTP1->List(SL,"",false); for an empty folder, how can I detect this and continue, ignoring the List(), which would then be unnecessary? David
Technical Details
Message-ID:
<45d430c5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45d30c11$1@newsgroups.borland.com> <45d34eeb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,56e043fe6a8aa103 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Ayre" <davidcayre@ntlworld.com> Sender: "David Ayre" <davidcayre@ntlworld.com> Reply-To: "David Ayre" <davidcayre@ntlworld.com> Subject: Re: IdFTP1->List problem Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 81.96.129.134 References: <45d30c11$1@newsgroups.borland.com> <45d34eeb@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <45d430c5$1@newsgroups.borland.com> Date: 15 Feb 2007 02:07:01 -0800 X-Trace: newsgroups.borland.com 1171534021 207.105.83.66 (15 Feb 2007 02:07:01 -0800) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail