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

libURLSetLogField longFieldDescriptor libURLSetLogField "none"

Introduced
1.1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Network
Summary
Specifies a field for logging information about uploads and downloads.
Examples

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

Additional Comments
Expander triangle

Use the libURLSetLogField command to debug file transfers.

Parameters:

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

Comments:

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