2
Bug #7216: ftp_mkdir returns nothing (2)
11
$ftp = ftp_connect('127.0.0.1', $port);
12
if (!$ftp) die("Couldn't connect to the server");
14
var_dump(ftp_login($ftp, 'anonymous', 'IEUser@'));
15
// test for the correct behavior this time
16
var_dump(ftp_mkdir($ftp, 'CVS'));
21
string(20) "/path/to/ftproot/CVS"