Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

FTP Client and Directories

Moderators: larsivi kris

Posted: 11/22/07 17:57:19

Does FTP client support giving a list of directories. When you use the .ls() command does it return a list of directories and files or just files. I need to know that above so I can know how to do entries and files and folders properties of FtpFolder? that I am creating. Meanwhile I'll work on a bit more of something else.

Thanks in advance for any help given, Lester L. Martin II

Lester L. Martin II

Author Message

Posted: 11/25/07 21:41:34

.ls() returns an array of "FtpFileInfo?" containing the "FtpFileType? type" variable which indicates the type: unknown, file, cdir (current directory), pdir (parent directory), dir or other.