Navigation: Development > Function Reference > Module > Ftp >
Deletes the given file on the remote host.
App::Module('Ftp')->Delete(Path);
Parameter
Type
Description
Path
Mandatory
File path
return true if success
See bellow examples:
$Ftp->Delete("Winter.jpg");