This issue has been added to the tracker:
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Then you are not running 5.14.2. Please try to install it again.
Thanks for the patience, I did it. However it logged the version number as 5.13.6, however logging occured after installing the beta version. I restored the old ini file, maybe that caused this.
What version of WinSCP are you using?
Can you try the latest beta version?
Error retrieving file list for "Z:\OneDrive\Dokumentumok\(...)20902.pdf\*.*".
System Error. Code: 267.
please post a full session log file