importWinScpSessions
function importWinScpSessions(ini: string): ImportWinScpSessionsResult;Defined in: src/profiles/importers/WinScpImporter.ts:41
Parses WinSCP WinSCP.ini text and returns generated profiles.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
ini | string | Contents of the WinSCP configuration file. |
Returns
Section titled “Returns”Imported sessions and any skipped entries.
Throws
Section titled “Throws”ConfigurationError When no session sections are found.