Topic "Embedded settings from .ini file"

Author Message
[View user's profile]

Joined: 2010-03-11
Posts: 1

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:


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


Thanks in advance, much appreciated.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
You can embed only the session settings.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License