Re: how to determine if a object dir or file is? - WeOnlyDo Discussion board

Re: how to determine if a object dir or file is? (General questions)

by Jan, Thursday, February 17, 2005, 14:20 (7018 days ago) @ wodSupport

why don't you use DirItems.Type property for this?

In order to access this property, I must call ListDir method first .
I do not call ListDir.
I call ListNames.

As a target I get a list of files and dirs.
So, I must reject all dir from this list.
As a rejecting result it left only some files, I can download.
It is a pitty there is not any method ListAllFilesInDir


Thanks
Jan
[:sad:]


Complete thread: