wodFtpDLX ActiveX Control - LoginChallenge Method (wodFtpDLXCom)
      
 

Description

Called when the server requests the response to a login challenge.


Return Type

None  


Syntax

object.LoginChallenge Owner, Challenge, Response



The LoginChallenge Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodFtpNotify.
Owner Required. A wodFtpDLXCom object.
Challenge A String value. Holds the challenge expression provided by the server.
Response A String value. Value you should provide as the answer to the challenge.
Remarks
 
This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation.

The LoginChallenge notification method will be called when wodFtpDLX tries to use KeyboardInteractive authentication. This type of authentication is selected when you set Authentication = AuthPassword (or AuthAny by default) but password authentication fails. In this case wodFtpDLX tries KeyboardInteractive authentication (if available on the server) where the server sends a 'challenge' request that is shown on the user's screen and you must answer with the proper response in order to be authenticated.

 
Often, the server just sends something like 'please enter your password', but on some configurations this can be virtually any question. For example, the server may ask you to enter a one-time-password or your token ID.