0 votes
by (120 points)
edited

excuse me

i use Rebex Total Pack for .NET (trial)

How do I make sure to use SFTP upload API to Transfer Data from client to Server is Using the SSH procotl to encrypt the File

Imports Rebex.Net
Public Class Form1
    Dim client As New Sftp
        Private Sub btnConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConnect.Click
        client.Connect("192.168.5.59")
        client.Login("Sftp", "test123")
        client.PutFile("D:\temp\1.txt", "1.txt")

        End Sub  
    End Sub

End Class
Applies to: Rebex SFTP

1 Answer

0 votes
by (144k points)
edited

When you use the SFTP protocol using our API, the file is always transferred over an encrypted SSH channel. It's not possible to disable the encryption - it's always on.

(Please note that before logging into an SFTP/SSH server, you should always check Sftp object's Fingerprint property to make sure you are communicating with the right server.)

...