Transfer Stored Sessions from 4.0.5 to 4.1.7 (portable)

Advertisement

BassKozz
Joined:
Posts:
4

Transfer Stored Sessions from 4.0.5 to 4.1.7 (portable)

How can I upgrade all of my settings from 4.0.5 to the latest (4.1.7)?

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 :(

TiA,
-BassKozz

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Transfer Stored Sessions from 4.0.5 to 4.1.7 (portable)

BassKozz wrote:

but aren't the *.ini files incompatible between versions because of changes?
INI file is always backwards compatible. You may just need to rename it to match the name of the new executable.

Reply with quote

BassKozz
Joined:
Posts:
4

But there are settings in v4.1.7 that don't exist in 4.0.5's ini file, to name a few:
PuttyRegistryStorageKey=Software%5CSimonTatham%5CPuTTY
CacheDirectoryChangesMaxSize=100
TelnetForFtpInPutty=1
ConfirmTransferring=1
LastMonitor=0
CPSLimit=0
FindDown=1
TabSize=7
and items that are in 4.0.5 that are no longer in 4.1.7:
ForceDeleteTempFolder=1
And changes in 4.1.7:
TunnelLocalPortNumberLow=6000
TunnelLocalPortNumberHigh=6100
Changed to:
TunnelLocalPortNumberLow=50000
TunnelLocalPortNumberHigh=50099
...
ErrorDialogExpanded=1
changed to:
ErrorDialogExpanded=0
...
SessionToolbarAutoShown=1
changed to:
SessionToolbarAutoShown=0
...
etc (I didn't list them all)


So can I just copy over the "[Sessions\SESSION_NAME]" sections ?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

BassKozz wrote:

But there are settings in v4.1.7 that don't exist in 4.0.5's ini file, to name a few:
...
Well that is obvious. But WinSCP can handle that. That's what backwards compatibility is about...

Reply with quote

Advertisement

You can post new topics in this forum