Get

Downloads the contents of the given URL.

Note: Adobe® Acrobat® and Adobe® Reader® cannot verify that the form is certified until after the initialize event initiates. To use the Get function on certified forms prior to the form rendering, use the docReady event.

Syntax

Get(s)

Parameters

Parameter

Description

s

The URL to download.

If the function is unable to download the URL, it returns an error.

Examples

The following expressions are examples that use the Get function.

Expression

Returns

Get("http://www.myweb.com/data/mydata.xml")

XML data taken from the specified file.

Get("ftp://ftp.gnu.org/gnu/GPL")

The contents of the GNU Public License.

Get("http://intranet?sql=SELECT+*+FROM+ projects+FOR+XML+AUTO,+ELEMENTS")

The results of an SQL query to the specified website.

// Ethnio survey code removed