Rourlevent (hd2000 only) – BrightSign HD2000 Object Reference Manual User Manual

Page 50

Advertising
background image

roUrlEvent (HD2000 only)


 rotINT32 GetInt(rotVOID)

o

Returns the type of event. The following event types are currently defined:

 1 – transfer complete

 2 – transfer started. Headers are available for suitable protocols. (Not currently

implemented)

 rotINT32 GetResponseCode(rotVOID)

o

Returns the protocol response code associated with this event. For a successful HTTP request

this will be the HTTP status code 200.

o

For unexpected errors the return value is negative. There are lots of possible negative errors

from the CURL library but it's often best just to look at the text version
via GetFailureReason().

Here are some potential errors. Not all of them can be generated by BrightSign:

Status

Name

Description

-1

CURLE_UNSUPPORTED_PROTOCOL

-2

CURLE_FAILED_INIT

-3

CURLE_URL_MALFORMAT

-5

CURLE_COULDNT_RESOLVE_PROXY

-6

CURLE_COULDNT_RESOLVE_HOST

-7

CURLE_COULDNT_CONNECT

-8

CURLE_FTP_WEIRD_SERVER_REPLY

a service was denied by the server due to lack of access
- when login fails this is not returned.

-9

CURLE_REMOTE_ACCESS_DENIED

-11

CURLE_FTP_WEIRD_PASS_REPLY

-13

CURLE_FTP_WEIRD_PASV_REPLY

-14

CURLE_FTP_WEIRD_227_FORMAT

-15

CURLE_FTP_CANT_GET_HOST

-17

PE

CURLE_FTP_COULDNT_SET_TY

-18

CURLE_PARTIAL_FILE

-19

CURLE_FTP_COULDNT_RETR_FILE

-21

CURLE_QUOTE_ERROR

quote command failure

-22

CURLE_HTTP_RETURNED_ERROR

-23

CURLE_WRITE_ERROR

-25

CURLE_UPLOAD_FAILED

failed upload "command"

-26

CURLE_READ_ERROR

could open/read from file

-27

CURLE_OUT_OF_MEMORY

-28

CURLE_OPERATION_TIMEDOUT

the timeout time was reached

-30

CURLE_FTP_PORT_FAILED

FTP PORT operation failed

50

Advertising
This manual is related to the following products: