Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFtpDLX
- Methods
- Abort
- About
- AppendData
- AppendFile
- AppendFileFrom
- CheckDir
- ClearCommandChannel
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- GetAttributes
- GetData
- GetDate
- GetFile
- GetFileAt
- GetFileAt64
- GetFiles
- GetSize
- ListDir
- ListNames
- LocalCRC
- LoopFiles
- MakeDir
- PutData
- PutFile
- PutFileAt
- PutFileAt64
- PutFiles
- RawReceived
- RawSend
- Refresh
- RemoteCRC
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Site
- Properties
- Account
- Arrange
- AscIITranslation
- Authentication
- BackColor
- Blocking
- BorderVisible
- BufferSize
- Certificate
- ClientName
- ColumnCount
- ColumnHeader
- Columns
- ColumnWidth
- Compression
- ContextMenu
- DirFormat
- DirItems
- Enabled
- Encryption
- EncryptionList
- ErrorText
- FIPS
- ForeColor
- HMacList
- Hostname
- IconView
- ItemSkip
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalCertBag
- LocalPath
- Login
- MaxDataPort
- MaxTransferRate
- MinDataPort
- MyHostname
- MyIP
- Notification
- Passive
- Password
- PasvPort
- Port
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemotePath
- Resume
- SecureMethod
- ShellIcons
- SmartGet
- SmartPut
- SortItems
- SSLCipherList
- State
- StateText
- StrictHost
- TabStop
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- UTF8Encoding
- Version
- Events
- ActionCopy
- ActionDelete
- ActionDownload
- ActionMakeDir
- ActionNewFile
- ActionPaste
- ActionProperties
- ActionRename
- ActionSelect
- AfterViewChange
- Attributes
- Attributes64
- Banner
- BeforeViewChange
- Click
- ClientCertRequired
- Connected
- CryptoInformation
- DblClick
- Disconnected
- Done
- FileTransferData
- Focus
- FTPReply
- HostCertificate
- HostFingerprint
- KeyPress
- ListItems
- LoginChallenge
- LoopError
- LoopItem
- MenuClick
- PreTranslateCommand
- PreTranslateReply
- Progress
- Progress64
- ShowContextMenu
- SiteReply
- StateChange
- Methods
- IwodFtpNotify
- DirItem
- DirItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
- How to...
LocalCertBag property
Specifies file with additional certificates.
Type
A String value. Full path to a file on local filesystem.Syntax
- Basic
object.LocalCertBag[= value]
The LocalCertBag(object,value) syntax has these parts:
The LocalCertBag(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodFtpDLX. |
value | A String value. |
Remarks
LocalCertBag should be used to specify additional certificate bag - file that holds one or more certificates to be used for verification of server's certificate path. It is particular useful in ASP environment - since IIS/ASP is running under IUSER_COMPUTER privileges (guest privileges) and it has no access to computer's certificate store, so using wodFtpDLX in ASP often produces problems and errors of type 'unable to verify remote certificate' etc.. Basically, certificate bag file contains one or more certificates, and it looks like this: /DC=com/DC=microsoft/CN=Microsoft Root Certificate Authority -----BEGIN CERTIFICATE----- MIIFmTCCA4GgAwIBAgIQea0WoUqgpa1Mc1j0BxMuZTANBgkqhkiG9w0BAQUFADBf ....... SSbd3ik1h/UwcXBbFDxpvYkSfesuo/7Yf56CWlIKK8FDK9kwiJ/IEPuJjeahhXUz fmye23MTZGJppS99ypZtn/gETTCSPW4hFCHJPeDD/YprnUr90aGdmUN3P7Da -----END CERTIFICATE----- /OU=Copyright (c) 1997 Microsoft Corp./OU=Microsoft Corporation/CN=Microsoft Root Authority -----BEGIN CERTIFICATE----- MIIEEjCCAvqgAwIBAgIPAMEAizw8iBHRPvZj7N9AMA0GCSqGSIb3DQEBBAUAMHAx KzApBgNVBAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAc -----END CERTIFICATE----- ...... Idea is this: since ASP privileges do not allow access to windows certificate store, we should export them to a file (as regular user), and then just import them to wodFtpDLX from ASP code. So, as any user on your system you should create code like this (sample for VB):Dim Loc As New CertLocation
Loc(CurrentUser).Item("ROOT").Export "C:\certs.txt"
Loc(CurrentUser).Item("CA").Export "C:\certs.txt"
This code will export certificates to 'certs.txt' file. Now place that file so it can be accessed from ASP, and in your ASP code add this:
...
set wodFtp = server.CreateObject("WeOnlyDo.wodFtpDLXCom.1")
wodFtp.LocalCertBag = "c:\certs.txt"
wodFtp.LicenseKey="put-your-license-key"
....