You are using WinSCP and don’t see the files beginning with dot (hidden files) like .config or .dir? These are hidden files.
WinSCP has a configuration setting that allows you to show or hide the hidden files.
In order to view the hidden files, you need to enable the following option:
Options > Preferences > Panels
In the preferences window, click on “Panels” situated on the left menu. And then on the right side check or uncheck the “Show Hidden Files” box to show or hide the files.
Alternatively, you can use the keyboard shortcut: Ctrl + Alt + H
By default, WinSCP comes with the option “Show Hidden Files” set to true. but sometimes it comes with the option disabled.
You can watch the same in below video: