Re: print directory tree of remote directory
WinSCP does not have any function that might help you.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.