wpe37.gif (995 bytes) jsFTPSettingsDlg

This is a handy dialog for entering/saving/retrieving FTP session settings. Use it in conjunction with jsFTPDlg.

Example:

jsFTPSettingsDlg.Execute;  // displays the dialog

wpe4E.gif (7764 bytes)

type TjsFTPSettingsDlg = class(TComponent)
private
    FHost : String;
    FUserID : String;
    FPassword : String;
    FLocalDir : String;
    FRemoteDir : String;
    FWindowCaption : String;
protected
    { Protected declarations }
public
    constructor Create(AOwner : TComponent); override;
    function Execute : Boolean;
published
    property Host : String read FHost write FHost;
    property UserID : String read FUserID write FUserID;
    property Password : String read FPassword write FPassword;
    property LocalDir : String read FLocalDir write FLocalDir;
    property RemoteDir : String read FRemoteDir write FRemoteDir;
    property WindowCaption : String read FWindowCaption write FWindowCaption;
end;