Differences
This shows you the differences between the selected revisions of the page.
2017-04-03 | 2017-12-05 | ||
cannot be used in .NET Core projects (martin) | code wrapping for new design (martin) | ||
Line 81: | Line 81: | ||
UserName = "user", | UserName = "user", | ||
Password = "mypassword", | Password = "mypassword", | ||
- | SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:..." |
}; | }; | ||
Line 94: | Line 94: | ||
TransferOperationResult transferResult; | TransferOperationResult transferResult; | ||
- | transferResult = session.PutFiles(@"d:\toupload\*", "/home/user/", false, transferOptions); | + | transferResult = |
+ | ···················session.PutFiles(@"d:\toupload\*", "/home/user/", false, transferOptions); | ||
// Throw on any error | // Throw on any error | ||
Line 135: | Line 136: | ||
.UserName = "user" | .UserName = "user" | ||
.Password = "mypassword" | .Password = "mypassword" | ||
- | .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | + | .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:..." |
End With | End With | ||
Line 147: | Line 148: | ||
Dim transferResult As TransferOperationResult | Dim transferResult As TransferOperationResult | ||
- | transferResult = session.PutFiles("d:\toupload\*", "/home/user/", False, transferOptions) | + | transferResult = |
+ | ···················session.PutFiles("d:\toupload\*", "/home/user/", False, transferOptions) | ||
' Throw on any error | ' Throw on any error |