I want to do sftp connectivity via Proxy in Rebex . We are currently connecting via Machine Name/IP of it, port. And login using Credentials using Core FTP Mini Rebex Server.
I am doing my code in c#.
Sample code we use:
SftpConnectionState IsActive = null;
if (objSFTP == null)
{
objSFTP = new Sftp();
}
IsActive = objSFTP.GetConnectionState();
if (IsActive.Connected == false)
{
//objSFTP.Licensing.Key = "==ApbJxV1c9p5QQYwRploBirbrUgloeUjvKm6PrjeY==";
objSFTP.Connect(Common.SFTP_IP, Common.SFTP_PORT);
objSFTP.Login(Common.SFTP_USERNAME, Common.SFTP_PASSWORD);
}