[EXTENSION] FTP

Please add comments, questions and bugs here.

http://www.yiiframew…m/extension/ftp

Quick observation: Noticed you named it CFtpComponent.  C stands for 'Core'.  Should probably be renamed to EFtpComponent, E for 'Extension'

http://www.yiiframew…opic,895.0.html

ok, i will change it

thanks

changed

Component thrown an exception on destruction when component isn’t connected. You should change destructor like this:


    public function __destruct()

    {

        if ($this->getActive())

            return $this->close();

        

        return true;

    }

please add method for setting passive mode