Please add comments, questions and bugs here.
Quick observation: Noticed you named it CFtpComponent. C stands for 'Core'. Should probably be renamed to EFtpComponent, E for 'Extension'
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