Re: Reusing connections for multiple commands (General questions)
Hi,
You need to set Prompt property in that case, since otherwise we can't know when command is done executing. You can however change Prompt property during an active connection.
Also, if prompts are generic you can try using Regex values. I would suggest that you check the wodSSH help page on Prompt property:
http://www.weonlydo.com/SSH/Help/wodSSH-Prompt.html
for ActiveX version or
http://www.weonlydo.com/SSH.NET/Help/WeOnlyDo.Client.SSH.Prompt.html
for the .Net version.
Hope this helps.
Regards,
Damba
Complete thread:
- Reusing connections for multiple commands - jdlogicman, 2011-04-06, 01:24
- Re: Reusing connections for multiple commands - woddrazen, 2011-04-06, 09:11
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 18:39
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 18:48
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 21:01
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 21:15
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 22:19
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 22:22
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 22:19
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 21:15
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 21:01
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 18:48
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 18:39
- Re: Reusing connections for multiple commands - woddrazen, 2011-04-06, 09:11