Back to product page

Technical and distribution information


General

The wodSFTP component has two versions (both included in the package):

wodSFTPCom is a COM object (wodSFTP.dll) that is designed to be initialized dynamically from your code and declared from within your code. It does not have a user interface - it is windowless. Usually, you will initialize it with:
 
   Dim WithEvents Sftp1 as wodSFTPCom
 

and wodSFTP is an ActiveX control (wodSFTP.ocx) that is designed to be put on your application's forms using drag & drop from the control toolbox. Once you put it onto a form, no special code is required to initialize it as your environment (usually VB) will handle this.

Unlike ActiveX controls which are licensed the moment you put them on the form (if you have a licensed version of wodSFTP), COM object licensing is not directly supported by any container. Therefore you need to add an extra line to your code in order to correctly license wodSFTP:
 
   Sftp1.LicenseKey = "put.your.key.here"
 


COM Object information
Filename wodSFTP.DLL (wodSFTP64.DLL for x64)
Class name WeOnlyDo.wodSFTPCom.1
Class ID {79731811-6B9A-4DF0-92CF-991C37D2BCED}
Events class ID {0xEAF8E315,0x3A6C,0x485B,{0xA1,0x28,0x4B,0x87,0x10,0x81,0x59,0x9C}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodKeys.dll optional, only if Key generation/loading/saving is used.


ActiveX Control information
Filename wodSFTP.OCX (wodSFTP64.OCX for x64)
Class name WeOnlyDo.wodSFTP.1
Class ID {6795FA0F-35C3-4BEB-B3AA-F19DB0B228EA}
Events class ID {0x1CCB7958,0x5EDE,0x4EA1,{0xA7,0xAE,0x3A,0x8D,0xBE,0x50,0x4B,0x63}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodKeys.dll optional, only if private keys are used.


Interfaces
ISftpItem {B42C482D-FE98-415C-BA8C-725DB78C38CD}
ISftpItems {84F0870F-25B0-492A-9FB1-05432227F6D4}
IwodSFTPNotify {98C7F28F-FE9C-4540-9AAB-2B43EDD6328F}


Documentation
Help filename wodSFTP.CHM

Distribution note

When you develop and distribute an application that uses this component:
  1. Choose whether to include the COM object (wodSFTP.DLL/wodSFTP64.DLL) or the ActiveX control (wodSFTP.OCX/wodSFTP64.OCX) into the installation package. The COM object and the ActiveX control are independent of each other.
  2. You should include wodKeys.DLL/wodKeys64.DLL for Key management if it is needed in your application. wodSFTP does not depend on it, it only uses it for client authentication with the private key.
  3. The above binaries can be included royalty-free in your application.
  4. Use RegSvr32.EXE (or any other installation package creator) to register both the OCX and the DLL. Usually the installation software will do this for you.
  5. Install the component file(s) into the user's Windows SYSTEM32 folder. The component files have version information built into them, so during installation you should ensure that you are not overwriting a newer version.

Using licensed version

To use the retail (licensed) version in your code, put your license key into the LicenseKey property immediately after initializing the component. For the ActiveX control, you cannot do this (there is no LicenseKey property) because your license key will be read internally by wodSFTP.

Platforms

Windows