Problem launching winscp from C# winform application

Advertisement

guiman
Guest

Problem launching winscp from C# winform application

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...

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Problem launching winscp from C# winform application

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.

Reply with quote

Advertisement

You can post new topics in this forum