mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@12160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4c8563b309
commit
928a2ae72f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ CONSOLE_APP_MAIN
|
|||
SshSession session;
|
||||
if(session.Timeout(30000).Connect("demo:password@test.rebex.net:22")) {
|
||||
SFtp sftp = session.CreateSFtp();
|
||||
String out = sftp.Get(file);
|
||||
String out = sftp.LoadFile(file);
|
||||
LOG((!sftp.IsError() ? out : sftp.GetErrorDesc()));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue