====== delete ====== {#JAPI Joomla.Framework Client JFTP::delete #} This method deletes a path (file/folder) on the FTP server. ===== Syntax ===== boolean delete ( **$path** ) | **$path** | string | is a string containing the path to delete | ===== Examples ===== jimport( 'joomla.connector.ftp' ); $ftp = new JFTP( array( 'type' => FTP_BINARY ) ); $ftp->connect( '127.0.0.1' ); $ftp->login( 'testuser', 'testpass' ); if ($ftp->delete( 'robots.txt' ) ) { echo "Delete successful!"; } else { echo "Delete failed!"; } might produce: Delete successful!