Re: Code segment, using keys (General questions)
Hi,
Please check the following article:
http://www.weonlydo.com/index.asp?kb=1&View=entry&EntryID=80
It shows how to initiate wodCertificate object. Once initialized, you need to use Load method to load the key, and pass the object reference back to wodFtpDLX.Certificate property.
Can you please try something like that?
Regards,
Damba
Does this syntax appear to be correct?
to validate using keys
OLEObject ole_cer
ole_cer = CREATE oleobject
ole_cer.ConnectToNewObject( WeOnlyDo.Certificate.1 )
ole_cer.loadkey( c:jmskey.txt )
ole_ftp.object.hostname = ftp_site
ole_ftp.object.login = ftp_acc
ole_ftp.object.certificate = ole_cer
ole_ftp.object.authentication = 2
ole_ftp.object.transfermode = 0
ole_ftp.object.blocking = 0
ole_ftp.object.protocol = 1
ole_ftp.object.compression = 6
ole_ftp.object.passive = 1
ole_ftp.object.port = 22
Complete thread:
- Code segment, using keys - scotstyer, 2011-11-14, 15:45
- Re: Code segment, using keys - wodDamir, 2011-11-14, 16:05
- Re: Code segment, using keys - scotstyer, 2011-11-14, 16:27
- Re: Code segment, using keys - woddrazen, 2011-11-14, 16:40
- Re: Code segment, using keys - scotstyer, 2011-11-14, 16:27
- Re: Code segment, using keys - wodDamir, 2011-11-14, 16:05