Embedded settings from .ini file

Advertisement

dan_tee
Joined:
Posts:
1

Embedded settings from .ini file

Hi,

I followed the guide on how to embed WinSCP session settings in the executable, however, what is not clear is how much of the ini file can be embedded.

The .exe I modified now automatically loads the session I embedded (hostname/port), however, it seems to ignore other parameters I embedded into the WINSCP_SESSION resource from my baseline .ini file.

I would like to embed parameters such as server key cache so that end-users will not receive warnings when they first logon to the server. Clients will be using WinSCP 4.27 under Windows XP SP3.

Can other parameters be embedded into the EXE, and if so, would I need to use a different resource name (instead of WINSCP_SESSION)?

The resource names mentioned in the documentation are:

WINSCP_SESSION
WINSCP_KEY

However, please could you let me know if there is a specific resource name where I could embed other .ini config details such as:

[SshHostKeys]
rsa2@22:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks in advance, much appreciated.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum