Constructs the authentication credentials for the FTP session in the Login method.
function GetLoginPassword( const APrompt: String ): String; overload;
GetLoginPassword is an overloaded String function used to construct the authentication credentials for the FTP session in the Login method.
GetLoginPassword provides a mechanism for transparently supporting the One-Time-Password (OTP) system for FTP servers that implement the capability in the response for the FTP USER command. If the response includes a line that begins with the characters "otp-", the hashing algorithm and the challenge are read from the FTP response. The hashing algorithm is used to generate an OTP response using the OTP Challenge and the value in the Password property.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.