Hi
The CkSFtp::openDir() (C++ library, 9.5.0-x86-vc9) when using it for more than 10 times.
Using it as in the example, it works correctly for the first 10 usage, with readDir() and Closehandle() working correctly as well.
The simplest code below also fails at 10th iteration:
// After successful connect and authenticate
for (int i = 0; i < 20; i++)
{
const char* hDir = sftp.openDir(".");
sftp.CloseHandle(hDir);
}
Tried with various SSH/SFTP servers, and the behaviour is the same.
As another question, when using CkSFtp::OpenDir(), which returns a bool and a CkString as output parameter, what handle should be used in CkSFtp::CloseHandle()?
Thanks