"; echo varx(ftp_systype($_g['fhn'])); # echo varx(ftp_pasv($_g['fhn'],true)); echo varx(ftp_raw($_g['fhn'],'PWD')); echo varx(ftp_raw($_g['fhn'],'LIST -l .')); echo varx(ftp_raw($_g['fhn'],'mkd foobar')); echo varx(ftp_nlist($_g['fhn'],"-l .")); /* The following works but it has been integrated into the main code if (isset($_REQUEST['api'])) { $res=ftp_nlist($_g['fhn'],"."); foreach ($res as $fn) $ubigx[$fn]=1; # echo varx($res) . varx($ubigx); echo serialize($ubigx); exit(); } */ $titext="RHaworth.me$curdir directory listing"; rwhhead($titext,"http://rhaworth.me$curdir",""); ?>