I am using wsftp SDK 8.1 and using the DLL with C# code
1. WsftpApiClass gobjFTP =
2. WsftpConnection gobjFTPConn =
Line 2 is failing with message ---- Additional information: COM object with CLSID {1E3F7F5B-3E4C-4D5F-A340-421FD658D3EE} is either not valid or not registered.
Its working fine with vb6 and vb.net
Pls reply.
To create connections you can not use operation "new", but use methods CreateConnection or CreateUrlConnection of the API.
In your case:
1. WsftpApiClass gobjFTP =new WsftpSDK.WsftpApiClass();
2. WsftpConnection gobjFTPConn = gobjFTP.CreateUrlConnection("ftp://ftp.domain");
Claudio RoblesWS_FTP Team
Very similar error msg. Please suggest
WsftpSDK.WsftpConnection pConn; WsftpSDK.WsftpApiClass oftp;
public SFTPHelper() { oftp = new WsftpSDK.WsftpApiClass(); oftp.DiagnosticLog=false; oftp.TimeStampLog=false; } public WsftpSDK.WsftpConnection OpenConnection() { try { pConn=oftp.CreateConnection(m_FTPServer,m_UserId,m_Password,(int) WsftpSDK.WsftpConnectionTypes.WSFTP_CT_SFTP,m_Port); } catch (Exception ex) { pConn=null; } return pConn; }