Login to FTP server.
App::Module('Ftp')->Login(Username, Password);
Parameter |
Type |
Description |
---|---|---|
User Name |
Mandatory |
Ftp Username |
Password |
Mandatory |
Password |
return true if success
See bellow examples:
$Ftp = App::Module('Ftp');
$Ftp->Connect('ftp.example.com');
$Ftp->Login('username','********');