ListNames - WeOnlyDo Discussion board

ListNames (wodSFTP / wodSFTP.NET / wodSFTPdll)

by cvmbor, Wednesday, June 13, 2007, 15:22 (6374 days ago)

Using the FTP protocol I do a ListNames after setting the remotePath to /a/b/c under c I have 3 files and another directory d. The FileInfo in ListItems only contains the 3 files and not d. The doc indicates I would get a d/ entry for the directory.

What shoul dI do differently?

Thanks

Craig Morris

Re: ListNames

by wodSupport, Wednesday, June 13, 2007, 15:32 (6374 days ago) @ cvmbor

Craig,

in FTP protocol this is really up to server. If server didn't send d/ then there's no way for component to determine if it's a directory or not.

In SFTP we know about it, but in FTP we don't. Servers usually send it, but some send only directory names.

Regards,
kreso