Topic "Load sites from winscp.ini"

Author Message
isvaljek
[View user's profile]
Donor
Joined: 2015-06-03
Posts: 4
Location: Croatia
Is there a way to load sites from other winscp.ini, like the main installation of WinSCP on computer?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
To load a configuration from an INI file use:
Code:
SessionOptions.DefaultConfiguration = false
SessionOptions.IniFilePath = ...


Though note that this is not recommended.

Also there's no official and supported way to open a stored session from .NET assembly.
See http://stackoverflow.com/q/20353558/850848

What are you trying to achieve?
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