Logon Method
Logon to the FTP RemoteHost using the current User and Password .
Syntax
procedure Logon();
Remarks
This method is used to logon to the FTP server using the current User and Password. If TransferMode is not 0 (Default), then the FTP transfer mode is set to the appropriate value.
Example (Logging On)
FTPControl.RemoteHost =
"ftpserver"
FTPControl.User =
"username"
FTPControl.Password =
"password"
FTPControl.Logon()