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

by Jan, (7379 days ago) @ Jasmine

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:]

locked

Complete thread: