|Subject:||Re: Directory list problem with Gene6 FTP server|
|Posted by:||Michael J. Leaver (firstname.lastname@example.org)|
|Date:||Tue, 26 Oct 2004|
Michael J. Leaver wrote:
> I'm getting a strange directory listing with a Gene6 FTP server (V3.2)
> and Indy 10 (latest version). No matter if I use LIST or MLSD I keep
> getting entries for the parent and grand-parent directories, e.g. if I'm
> in the directory /abc/def/ghi/ then I'd get a list like this:
> [rest of files and directories]
> So it's telling me the name of the parent and grand-parent directories
> in the listing (not their contents, just their names).
> Any ideas?
To follow up, I discovered Indy 10 is actually using MLSD by default
because the server supports it.
And to provide further info, I changed directory to
/Child1/Child2/Child3 and this is the output from the MLSD command (the
directory is empty):
I notice the 'type' of 'cdir' and 'pdir' (for parent and child?). Should
these items be filtered out from DirectoryListing?
Directory list problem with Gene6 FTP server posted by Michael J. Leaver on Tue, 26 Oct 2004