>> Ressourcen > Archiv > Maurer H. (Ed.)[..] > F Hyper-G Clien[..] > F.3 Description[..] > F.3.31 Command [..]

ErstesErstesVorherigesNächstesLetztes 24/37

F.3.31 Command 39: GETREMOTE

GETREMOTE command@GETREMOTE command

Send
string object

Recv
int error, remainder text

Description
This command is used to retrieve documents originating from a non-native (that is, not Hyper-G) server. The document is identified by the object record in the Hyper-G object syntax. Currently supported protocols are http and Gopher.

A sample remote object:


alfenv4721

where only the attributes Type, DocumentType, Protocol, Host, Port are required.

Errors
If error is not zero, an error has occurred. Errors can come only from the document cache server inside the Hyper-G server complex, and have numbers larger than 1024.

NOCONNECTION (1026) the connection to the document server is broken

SERVERTIMEOUT (1049) the document server did not respond for a certain amount of time

INVALIDOBJECT (1052) error in the object

CONNECTREMOTE (1063) the document server could not connect to the non-native server