Hi,
What is the best practice for setting a port in Rebex SFTP? ie. Let's say it is 2700, not 22. Do I just set the hostname as "sftp.mywebsite.com:2700"?
Try using following code:
Sftp client = new Sftp(); client.Connect("sftp.mywebsite.com",2700); ... client.Disconnect();
You may find interesting following SFTP tutorial:
http://www.rebex.net/sftp.net/tutorial-sftp.aspx
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.