Skip to content

importWinScpSessions

function importWinScpSessions(ini: string): ImportWinScpSessionsResult;

Defined in: src/profiles/importers/WinScpImporter.ts:41

Parses WinSCP WinSCP.ini text and returns generated profiles.

ParameterTypeDescription
inistringContents of the WinSCP configuration file.

ImportWinScpSessionsResult

Imported sessions and any skipped entries.

ConfigurationError When no session sections are found.