Script to loop through saved session connections

Advertisement

bcollier
Joined:
Posts:
2

Script to loop through saved session connections

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?

Reply with quote

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

Re: Script to loop through saved session connections

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

Reply with quote

bcollier
Joined:
Posts:
2

Re: Script to loop through saved session connections

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.

Reply with quote

Advertisement

You can post new topics in this forum