private function makeDirectory($path)
    {
        if ($this->isSFTP()) {
            $created = @$this->ftp->mkdir($path, true);
        } else {
            $created = @ftp_mkdir($this->ftp, $path);
        }
        if (!$created) {
            $this->fail("couldn't make directory {$path}");
        }
        $this->debug("Make directory: {$path}");
    }
private function makeDirectory($path)
    {
        if ($this->isSFTP()) {
            $created = @$this->ftp->mkdir($path, true);
        } else {
            $created = @ftp_mkdir($this->ftp, $path);
        }
        if (!$created) {
            $this->fail("couldn't make directory {$path}");
        }
        $this->debug("Make directory: {$path}");
    }
private function makeDirectory ( $ path ) { if ( $ this -> isSFTP ( ) ) { $ created = @ $ this -> ftp -> mkdir ( $ path , true ) ; } else { $ created = @ ftp_mkdir ( $ this -> ftp , $ path ) ; } if ( ! $ created ) { $ this -> fail ( "couldn't make directory {$path}" ) ; } $ this -> debug ( "Make directory: {$path}" ) ; }
Make new directory on server

@param $path
Make new directory on server