Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Getting Started in VC
Working with the COM object
In order to insert the wodSFTP COM object into your project, follow these steps:- Install the component on your system by starting its setup program.
- In the Visual C++ Compiler IDE, create a project or open an existing one.
- Recompile and then open ClassWizard.
- Click on 'Add Class' button, then on 'From a type library'.
- Locate wodSFTP.DLL and select it. Select all offered interfaces. Click on 'Ok'. VC will now generate wrapper classes for all interfaces.
- wodSFTP is now declared as COleDispatchDriver - you can initialize it from the code like this:
-
// in header file
IwodSFTPCom m_Sftp1;
// in CPP file
OleInitialize(NULL);
m_Sftp1.CreateDispatch("WeOnlyDo.wodSFTPCom.1");
- Do not forget to distribute wodSFTP.DLL when using the COM object!
Working with the ActiveX control
In order to insert the wodSFTP ActiveX control into your project, follow these steps:- Install the component on your system by starting its setup program.
- In the Visual C++ Compiler IDE, create a new project or open an existing one.
- Click on 'Project', then on 'Add To Project', then on the 'Components and Controls' menu.
- In the 'Registered ActiveX Controls' directory select 'wodSFTP Class', click on the 'Insert' button, close the dialog.
- The compiler will insert the control into the project and create the appropriate wrapper classes.
- Do not forget to distribute wodSFTP.OCX when using the ActiveX control!