Topic "Problem launching winscp from C# winform application"

Author Message


I build a windows application using winscp to connect to remote servers.
I encountered a problem that for each of the GUI components (representing actions on the remote machine) I have to open new ssh session as described in the documentation.

My question is - Can i open a session with the remote machine only once and use it globaly for all the events?

It's a major performance issue. imagine that for every action i have to launch a new winscp process and open a new ssh session...

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
You may be able to do that. You'll have problems seeing if the commands have finished and with what result thought. Continuously reading XML log may be used for that.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License