Frequently Asked Questions

How to import wodSFTP COM object in Delphi 2005, Delphi 2006 and Delphi 2007?

Here is guide how to import wodSFTP COM object (DLL) in Delphi 2005, Delphi 2006 and Delphi 2007:

1. Create File \ New \ Package.
2. Go to Component \ Import Component.
3. Select "Import a Type Library" and go to Next.
4. Select "WeOnlyDo! COM SFTP Client Component" and go to Next.
5. Chose Palette Page (Standard for example) and go to Next.
6. Select "Add unit to Package1.bdsproj project" and go to Finish.
7. Go to Package Project Manager and right click to Package1.bpl.
8. Go to Compile.
9. In bottom of the page you will found message:
"[Warning] wodSFTPCOMLib_TLB.pas(827): W1009 Redeclaration of 'Notification' hides a member in the base class" double click on that message.
10. Red Line will appear: 
"property Notification: IwodSFTPNotify read Get_Notification write _Set_Notification;"
Add // before that line, so that line look like this:
"//   property Notification: IwodSFTPNotify read Get_Notification write _Set_Notification;"
Notification is not used in Delphi so this is something that you don't need.
11. Again right click on Package1.bpl and go to Compile. Now you will not get Warning Message in button of a page. If you get it go thru step 9 and 10 again for line that you receive.
12. Now right click on Package1.bpl and go to Install.
13. Go to File \ Save As and save wodSFTPCOMLib_TLB.pas file.
14. Create File \ New \ VCL Forms Application.
Delphi 2007: Create File \ New \ Form.
15. Go to Standard Tool Palette and drag & drop TwodSFTPCom to your Form. wodSFTPCom1 object will appear in Form1.


 Last updated Fri, Nov 8 2013 12:00am

Please Wait!

Please wait... it will take a second!