I read the documentation here: https://winscp.net/eng/docs/faq_transfer_config
and here: https://winscp.net/eng/docs/config#transfer
Transferring or Backing up the Configuration
You can export your configuration into an INI file using Export button on Preferences dialog. To import the configuration on another location, copy the INI file into the same directory, where WinSCP is installed. You can then change the storage to make WinSCP import the settings from an INI file to the registry.
But what I am confused about is, in order to import it says to change the storage location to the older *.ini file, but aren't the *.ini files incompatible between versions because of changes?
So for example, when I install v4.1.7, and I go into the preferences->Storage->Configuration storage, I can't change the *.ini location, it remains at winscp417.ini... this is the portable version I am using so I don't want the configuration to be stored in the registry, I want to keep the *.ini setting but I just need to transfer the stored sessions over from 4.0.5 to 4.1.7, how can I do this?
Also when I go to stored sessions on 4.1.7 and I clicked Tools->Import, it only asks to import my SSH sessions from putty, not my previous WinSCP sessions :(