ListNames (wodSFTP / wodSFTP.NET / wodSFTPdll)

by cvmbor @, (6534 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

locked

Re: ListNames

by Jasmine, (6534 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

locked