protected function connect( $pgHost, $pgPort = 22, $pgProtocol, $pgTimeout = 10 ) {
		pecho( "Connecting to $pgHost:$pgPort...\n\n", PECHO_NORMAL );
		switch( $pgProtocol ){
			case 1:
                $this->SSHObject = new Net_SSH1($pgHost, $pgPort, $pgTimeout); // FIXME    Directory doesn't exist
				break;
			case 2:
                $this->SSHObject = new Net_SSH2($pgHost, $pgPort, $pgTimeout); // FIXME    Directory doesn't exist
				break;
			default:
                $this->SSHObject = new Net_SSH2($pgHost, $pgPort, $pgTimeout); // FIXME    Directory doesn't exist
				break;
		}

        return $this->SFTPObject = new Net_SFTP($pgHost, $pgPort, $pgTimeout); // FIXME    Directory doesn't exist
	}