protected function _save($fp, $dir, $name, $stat) { $path = $this->_joinPath($dir, $name); return ftp_fput($this->connect, $path, $fp, $this->ftpMode($path)) ? $path : false; }