ListNames on an Empty directory Timeout - WeOnlyDo Discussion board

ListNames on an Empty directory Timeout (General questions)

by Andrew Humphries, Thursday, June 07, 2012, 10:51 (4350 days ago)

Hi all,
I have an issue when trying to perform the ListNames method.

When the Remote directory is Empty, No ListItems event triggers, and eventually I receive a timeout error.
As soon as I put a file in the remote directory, everything works OK.

Is there anything I can do to avoid this scenario - and get a 'proper' response, not a timeout?

Thanks
Andrew.

Re: ListNames on an Empty directory Timeout

by wodDamir, Thursday, June 07, 2012, 12:40 (4349 days ago) @ Andrew Humphries

Andrew,

Does Done event trigger? If it does, then I don't see an issue. There's no point of triggering ListItems event in case where there's nothing to provide in it.

Regards,
Damba