Re: Distribute wodSFTP.OCX control And problem con - WeOnlyDo Discussion board

Re: Distribute wodSFTP.OCX control And problem con (General questions)

by wodDamir, Thursday, May 15, 2008, 10:41 (5834 days ago) @ Antonio01

Hi Antonio,

Did you try our samples for ASP that came with the component? Do they work?

In order to distribute the component, all that you need to do is copy it to destination machine, and register the .ocx (or .dll) file using the RegSvr32.

However, in your code, you should change the following line:
[code]Set wodSFTP1 = Server.CreateObject( CMT_AQU.WeOnlyDo.wodSFTPCom.1 )[/code]
into this:
[code]Set wodSFTP1 = Server.CreateObject( WeOnlyDo.wodSFTPCom.1 ) [/code]

Please note that the above statement creates a COM object (uses wodSFTP.dll, and nto the wodSFTP.ocx). The difference is in WeOnlyDo.wodSFTPCom.1 , where wodSFTPCom is used for .dll, and WeOnlyDo.wodSFTP.1 is used for .ocx.

One more thing. Since you are using ASP, you should have in mind that the component will be used on server side. That means that the component doesn't run on client.

Can you please try the above suggestion and tell me if this helped? Ofcourse, I would strongly suggest that you try out our samples that are distributed along with the component. Those should give you the best quick start.

Regards,
Damba


Complete thread: