Back to product page

Authentication property


Determines which authentication type is used.

Type

An AuthenticationsEnum enumeration. Type of authentication used when connecting to the server.

Syntax

  • Basic
object.Authentication [= value]
The Authentication(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
valueAn ArrangeEnum enumeration, as described in settings.

Remarks

Settings

The settings for value are:

Constant Value Description
authBoth0 Use both authentications
authPassword 1 Use password authentication
authCertificate2 Use certificate authentication
authSiteCertificate3 Use certificate with SITE AUTH authentication (for Tumbleweed servers)


Authentication property allows you to select type of authentication you want to use with the server. Most commonly, you will choose authPassword authentication, which requires Login and Password properties to be set before Connect method is called. Once wodFtpDLX connects to the server, it will authenticate you ONLY with username and password.

authCertificate, and you should set Login and Certificate properties accordingly. If you're using SFTP protocol, then used Certificate must hold at least Private key - no matter if you generated it or loaded it. If SSL protocols are used, you must load or generate also valid certificate that is sent to the client.

authBoth value. In this case wodFtpDLX will try to use both authCertificate and authPassword methods. Different server implementations may require either one or both of the authentications are successful to login to the server. Please note that in this case you must set all three properties: Login, Password and Certificate.


authSiteCertificate authentication is used, wodFtpDLX will issue SITE AUTH command instead of sending login and password. More details about this type of authentication should be searched on Tumbleweed server documentation.

Platforms

Windows