Re: listing with WinSCP
You can write a simple script in PowerShell, with a custom format:
https://winscp.net/eng/docs/library_session_listdirectory#powershell
https://winscp.net/eng/docs/library_session_listdirectory#powershell