Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: Indy FTP Response Codes for NLST
| Subject: | Re: Indy FTP Response Codes for NLST |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 15 Feb 2007 10:23:25 |
), to see the
actual FTP packet traffic back and forth.
Also, just an FYI, this issue is server-specific as well. For
example, on the FTP server I use (Serv-U), when I retreive a directory
listing on an empty folder, it returns a "550 No files found" response
to the NLST command instead of trying to transfer empty data.
> The server is "ProFTPD 1.3.0rc2 Server", and it appears not to send
> a 150 response to ls/NLST requests in empty directories.
Yes, it does (or you would not be getting the 226 reply). The console
output simply does not show it. That is why you need to use a better
viewer of the FTP commands/replies.
Gambit