SshBasics (a reference example set for the SSH package) is added, and SFtpGet & SshExec examples are removed.

git-svn-id: svn://ultimatepp.org/upp/trunk@12171 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2018-08-17 20:14:36 +00:00
parent aeff9929a4
commit 36804053e3
16 changed files with 273 additions and 73 deletions

View file

@ -0,0 +1,12 @@
#include "SshBasics.h"
// ShellConsole:
// Demonstrates an interactive shell in console mode.
void ShellConsole(SshSession& session)
{
SshShell shell(session);
shell.Timeout(Null);
if(!shell.Console("ansi"))
LOG(shell.GetErrorDesc());
}