| | | Forum Newbie
       
Group: Forum Members Last Login: 4/22/2008 4:40:29 PM Posts: 2, Visits: 12 |
| | I have a test program that is trying to make an SSH connection:bool pbVal = false; WsftpApiClass api = new WsftpApiClass(); // WsftpConnection conn = api.CreateConnection(tbURL.Text, tbUID.Text, tbPWD.Text, 2, 21); --- FTP works WsftpConnection conn = api.CreateConnection(tbURL.Text, tbUID.Text, tbPWD.Text, 4, 22); --- SFTP doesntpbVal = conn.PutFile( "",tbFileName.Text,".","tada.wav",0,0);MessageBox.Show(pbVal.ToString());Using the WSFTP client with SSH from the same workstation I am able to connect successfully. Second question: I found this "WsftpApiClass" class in the forums but nothing in the doc, object model, etc. it was "WsftpApi". Both seem to work. Any details? Thanks. Larry. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 4/22/2008 4:40:29 PM Posts: 2, Visits: 12 |
| | The logs on the server show that it getting a permission denied error but was trying to use port 21 every time it failed!? Is there a chance Im using an old version? The .dll shows as version 8.1.0.0 but it is dated 6/23/05? LK |
| |
|
|