'ftp.xml', )) or die('Could not load the FtpClient class.'); // echo "FSM loaded, ". count($ftp->fTransitions) ." transitions. State: {$ftp->getState()}\n"; FALSE && $ftp->setParameters(array( 'RemoteHost' => 'ftp.example.com', 'RemoteUser' => 'anonymous', 'RemotePass' => 'anonymous', 'RemoteWd' => '/dev', 'RemoteFile' => 'null', 'LocalWd' => '/dev', 'LocalFile' => 'null', 'FtpCallback' => '', )); // print_r($ftp->fTransitions); $grapher = new Grapher($ftp, array('debug' => 1)); echo $grapher->render();