Login

Navigation:  Development > Function Reference > Module > Ftp >

Login

Previous pageReturn to chapter overviewNext page

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','********');