Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File service does not support large directories #3

Closed
alikovvl opened this issue Aug 9, 2018 · 3 comments
Closed

File service does not support large directories #3

alikovvl opened this issue Aug 9, 2018 · 3 comments

Comments

@alikovvl
Copy link

alikovvl commented Aug 9, 2018

Should be

  if (!directoryAsdu.AddInformationObject (io)) {
    masterConnection.SendASDU(directoryAsdu);

    directoryAsdu = new ASDU(masterConnection.GetApplicationLayerParameters(), cot, false, false, 0, currentCa, true);
    directoryAsdu.AddInformationObject(io);
  }
@mzillgith
Copy link
Contributor

Thanks for the hint! I changed the code.

@alikovvl
Copy link
Author

if (!directoryAsdu.AddInformationObject (io) == false) Remove the negation or comparison on the false.

@mzillgith
Copy link
Contributor

Yes. That's a stupid typo. Thanks for hint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants