Error getting tags :
error 404Error getting tags :
error 404 libURLSetLogField | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Expander triangle

libURLSetLogField longFieldDescriptor libURLSetLogField "none"

Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Specifies a field for logging information about uploads and downloads.

libURLSetLogField "field 1"
libURLSetLogField(the cLogField of me)

Additional Comments
Expander triangle

Use the libURLSetLogField command to debug file transfers.


The fieldDescriptor is any expression that evaluates to a field reference.

Important! The libURLSetLogFieldcommand does not accept direct field references. For example, the following statement causes an error message:

libURLSetLogField field "Log" -- CAN'T USE THIS FORM

Instead, use a form that evaluates to a field reference, like this:

libURLSetLogField the name of field "Log" -- use this form instead

libURLSetLogField ("field" && quote & "Log" & quote) -- or this


During ftp and http transfers, Revolution logs the data sent from the server. If a log field has been set, this data is placed after the log field's contents.

To stop logging, use the following statement:

libURLSetLogField "none"

Important! The libURLSetLogFieldfunction is part of the Internet library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section of the Standalone Application Settings window, make sure "Internet Library" is selected in the list of script libraries.

Note: When included in a standalone application, the Internet library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the libURLSetLogField function is not yet available. This may affect attempts to use this function in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the libURLSetLogField function can be used in any handler.

User Comments
Expander triangle