protected function prepare()
    {
        //Force passice mode if not specified
        $this->addOption('passive', true);

        //To make call on different files, we must retrieve the root and apply commands to the path
        $tmp = clone $this->getUrl();
        $tmp->path('');
        $this->addOption('url', $tmp->toString());
    }
protected function prepare()
    {
        //Force passice mode if not specified
        $this->addOption('passive', true);

        //To make call on different files, we must retrieve the root and apply commands to the path
        $tmp = clone $this->getUrl();
        $tmp->path('');
        $this->addOption('url', $tmp->toString());
    }
protected function prepare ( ) { //Force passice mode if not specified $ this -> addOption ( 'passive' , true ) ; //To make call on different files, we must retrieve the root and apply commands to the path $ tmp = clone $ this -> getUrl ( ) ; $ tmp -> path ( '' ) ; $ this -> addOption ( 'url' , $ tmp -> toString ( ) ) ; }
Prepare the request execution by adding specific cURL parameters
Prepare the request execution by adding specific cURL parameters