public function fget($remote)
    {
        $this->isAlive(true);
        $this->errorHandler->start();
        $handle = fopen('php://temp', 'r+');
        if ($this->driver->fget($this->resource, $handle, $remote, FTP_BINARY)) {
            rewind($handle);
            $this->errorHandler->stop();

            return $handle;
        }
        $this->errorHandler->stop();

        return false;
    }
public function fget($remote)
    {
        $this->isAlive(true);
        $this->errorHandler->start();
        $handle = fopen('php://temp', 'r+');
        if ($this->driver->fget($this->resource, $handle, $remote, FTP_BINARY)) {
            rewind($handle);
            $this->errorHandler->stop();

            return $handle;
        }
        $this->errorHandler->stop();

        return false;
    }
public function fget ( $ remote ) { $ this -> isAlive ( true ) ; $ this -> errorHandler -> start ( ) ; $ handle = fopen ( 'php://temp' , 'r+' ) ; if ( $ this -> driver -> fget ( $ this -> resource , $ handle , $ remote , FTP_BINARY ) ) { rewind ( $ handle ) ; $ this -> errorHandler -> stop ( ) ; return $ handle ; } $ this -> errorHandler -> stop ( ) ; return false ; }
Similar to get but does not save file localy.

This should usually be used instead of get in most cases.

@param string $remote The path to the remote file.

@return resource|boolean The resource on success false on fail.
Similar to get but does not save file localy .