예제 #1
0
파일: Ftp.php 프로젝트: ngchie/system
 /**
  * Get the current Directory
  * 
  * @return Zend_Ftp_Directory
  */
 public function getCurrentDirectory()
 {
     if ($this->_currentDirectory === null) {
         $this->_connect();
         $this->_currentDirectory = Zend_Ftp_Factory::getDirecotry($this->getSysType(), array($this->_currentPath, $this));
     }
     return $this->_currentDirectory;
 }