Re: WOD SFTP (General questions)
Hi Damba,
Pleas find the code below that initialize the key manager
mySFTP = New WeOnlyDo.Client.SFTP
mySFTPEventErrArg = Nothing
Try
With mySFTP
.Hostname = mConfig.FTP_Server
.Login = mConfig.FTP_User
km = New WeOnlyDo.Security.Cryptography.KeyManager
type = km.Load(mConfig.RSA_Key_Path)
.PrivateKey = km.PrivateKey(type)
.Authentication = WeOnlyDo.Client.SFTP.Authentications.PublicKey
.LicenseKey = mConfig.WeOnlyDo_LicenceKey
.Timeout = mConfig.FTP_TimeOut
End With
Catch ex As Exception
mLOG.Error( Error to set parameters when InitFTP , ex)
End Try
Hi Gary,
We never had reports of such errors. Can you perhaps provide us more details?
What environment is this occuring in?
From the exception I see that this occurs when initializing wodKeyManager.Net. Can you show me the part of code where you declare and initialize it?
Regards,
Damba
[code][/code]
Complete thread:
- WOD SFTP - Gary Wong, 2009-07-07, 04:30
- Re: WOD SFTP - wodDamir, 2009-07-07, 08:40
- Re: WOD SFTP - Gary, 2009-07-07, 08:53
- Re: WOD SFTP - wodDamir, 2009-07-07, 09:09
- Re: WOD SFTP - Gary, 2009-07-07, 09:24
- Re: WOD SFTP - wodDamir, 2009-07-07, 10:04
- Re: WOD SFTP - Gary, 2009-07-07, 09:24
- Re: WOD SFTP - wodDamir, 2009-07-07, 09:09
- Re: WOD SFTP - Gary, 2009-07-07, 08:53
- Re: WOD SFTP - wodDamir, 2009-07-07, 08:40