All wodCrypt (12) wodSSH (10) wodSFTP (23) wodSSHServer (1) wodSSHTunnel (11) wodSSHpackage wodSFTPdll wodSSH.NET (10) wodSFTP.NET (24) wodFtpDLX.NET (22) wodWebServer.NET (10) wodAppUpdate (13) wodHttpDLX (8) wodFtpDLX (22) wodTelnetDLX wodFTPServer (3) wodWebServer (10) wodVPN wodXMPP (13) | All ** [Visual Basic] ** [C#] ** [VB.NET] ** Use SFTP with proxy
VB code
Dim wodSFTP1 As wodSFTPCom Set wodSFTP1 = New wodSFTPCom 'Set Proxy hostname and Proxy type you want to use. wodSFTP1.ProxyHostname = "your_proxy_hostname" wodSFTP1.ProxyType = ProxyWEBStandard 'ProxyLogin and ProxyPassword are only needed if your Proxy needs authentication. wodSFTP1.ProxyLogin = "your_proxy_login" wodSFTP1.ProxyPassword = "your_proxy_password" wodSFTP1.ProxyPort = 8080 'Set server login, password and hostname. wodSFTP1.HostName = "your_hostname" wodSFTP1.Login = "your_login" wodSFTP1.Password = "your_password" 'Connect to server. wodSFTP1.Connect VB.NET code
Dim wodSFTP1 As WeOnlyDo.Client.SFTP wodSFTP1 = New WeOnlyDo.Client.SFTP 'Set Proxy hostname and Proxy type you want to use. wodSFTP1.ProxyHostname = "your_proxy_hostname" wodSFTP1.ProxyType = WeOnlyDo.Client.SFTP.ProxyTypes.ProxyWEBStandard 'ProxyLogin and ProxyPassword are only needed if your Proxy needs authentication. wodSFTP1.ProxyLogin = "your_proxy_login" wodSFTP1.ProxyPassword = "your_proxy_password" wodSFTP1.ProxyPort = 8080 'Set server login, password and hostname. wodSFTP1.Hostname = "your_hostname" wodSFTP1.Login = "your_login" wodSFTP1.Password = "your_password" 'Connect to server. wodSFTP1.Connect() C# code
WeOnlyDo.Client.SFTP wodSFTP1; wodSFTP1 = new WeOnlyDo.Client.SFTP(); //Set Proxy hostname and Proxy type you want to use. wodSFTP1.ProxyHostname = "your_proxy_hostname"; wodSFTP1.ProxyType = WeOnlyDo.Client.SFTP.ProxyTypes.ProxyWEBStandard; //ProxyLogin and ProxyPassword are only needed if your Proxy needs authentication. wodSFTP1.ProxyLogin = "your_proxy_login"; wodSFTP1.ProxyPassword = "your_proxy_password"; wodSFTP1.ProxyPort = 8080; //Set server login, password and hostname. wodSFTP1.Hostname = "your_hostname"; wodSFTP1.Login = "your_login"; wodSFTP1.Password = "your_password"; //Connect to server. wodSFTP1.Connect(); |