Load sites from winscp.ini

Advertisement

isvaljek
Donor
Joined:
Posts:
4
Location:
Croatia

Load sites from winscp.ini

Is there a way to load sites from other winscp.ini, like the main installation of WinSCP on computer?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Load sites from winscp.ini

To load a configuration from an INI file use:
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 https://stackoverflow.com/q/20353558/850848

What are you trying to achieve?

Reply with quote

Advertisement

You can post new topics in this forum