Topic "Script to loop through saved session connections"

Author Message
bcollier
[View user's profile]

Joined: 2012-07-29
Posts: 2
I need to write a script to loop through around 150 saved sessions to preform some file management. I cannot find any documentation for script/cli commands to access saved sessions. Any ideas?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Stored sessions are saved either as sections of an INI file or Keys in registry. You can iterate those.
https://winscp.net/eng/docs/config
_________________
Martin Prikryl
bcollier
[View user's profile]

Joined: 2012-07-29
Posts: 2
I guess I will write a powershell script to enumerate the sessions from the registry. I just assumed winscp scripting could enumerate its own sessions.
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