method checkDir documentation in bbn\File\Ftp
function($dir, $create = 0)
{
{
$path = $this->dir;
if ( $this->cdDir($dir) ){
$this->cdDir($path);
$this->error = \defined('BBN_DIRECTORY_EXISTS') ?
BBN_DIRECTORY_EXISTS : 'The directory exists';
return $this->error;
}
else if ( $create == 1 && $this->mkDir($dir) ){
$this->error = \defined('BBN_DIRECTORY_CREATED') ?
BBN_DIRECTORY_CREATED : 'The directory has been created';
return $this->error;
}
}
return false;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions