Re: Unable to find /home directory due to '.' (dot) on ls-a
What version of WinSCP are you using? This should be resolved since 4.2.2 (4 years ago):
https://winscp.net/tracker/436
https://winscp.net/tracker/436
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.