Skip to content

WinSCP JSUse the transfer sessions you have already saved.

Read saved WinSCP connection settings from code or the terminal.

Source code: GitHub repository.

WinSCP already stores the connection details, key paths and remote directories used for file transfers. WinSCP JS lets scripts read those saved profiles from INI files, registry exports or the Windows registry. Find a session, inspect its settings, or preview supported changes without re-entering the server details.

How it works explains where settings are read, how the native format is interpreted and what happens on the host.

Choose your starting point ​

You want to…Start here
Use JavaScript or TypeScriptAPI quick start
Work from your terminalCLI quick start
Understand available packages and operationsAPI overview
Look up commands, inputs and outputCLI overview

Supported settings ​

SFTP/FTP profile projection does not turn unsupported SCP, WebDAV or S3 settings into supported transfers. Dockline separately provides transport execution. See the API reference for supported native settings.

Browse related application libraries.

Reuse a saved connection ​

Connect a selected profile through the optional shared Portline–Dockline integration. Use the same scoped execution API across application readers while keeping native parsing and metadata queries free of transport dependencies.