en fr

Disponible uniquement en anglais

Sysquake Pro – Table of Contents

Sysquake – Table of Contents

Sysquake for LaTeX – Table of Contents

Extension - Download URL

This section describes a function which downloads data from the WWW.

Functions

urldownload

Get the contents of a URL.

Syntax

contents = urldownload(url)

Description

urldownload(url) downloads data referenced by a URL. The result is typically an HTML document, or a data file such as an image. Both input and output arguments are strings.

urldownload(url,query) submits a query with the GET method and downloads the result. The URL should use the HTTP or HTTPS protocol.

urldownload(url,query,method) query with the specified method ('get' or 'post') and downloads the result.

Example

data = urldownload('http://www.w3.org');