Topic "Embedded settings from .ini file"

Author Message
dan_tee
[View user's profile]

Joined: 2010-03-11
Posts: 1
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You can embed only the session settings.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License