Quit

Navigation:  Development > Function Reference > Module > Ftp >

Quit

Previous pageReturn to chapter overviewNext page

Close Ftp connection
 

App::Module('Ftp')->Quit();
 

return true if success

 

See bellow examples:

 

$Ftp->Connect('ftp.example.com');
$Ftp->Login('username','********');
$Ftp->Quit();
pre($Ftp->_message);