23.1.3. File tools

23.1.3.1. Download file

Downloads a file specified using a URL (using for instance http: or file:). In other words you can copy/paste a URL and download the file.

23.1.3.1.1. Parametri

Etichetta

Nome

Tipo

Descrizione

URL

URL

[stringa]

The URL of the file to download.

File destination

LIVELLO IN USCITA

[stringa]

Default: [Save to temporary file]

Specification of the file destination. One of:

  • Skip Output

  • Salva come File Temporaneo

  • Salva come File…

La codifica del file può anche essere cambiata qui.

23.1.3.1.2. In uscita:

Etichetta

Nome

Tipo

Descrizione

File destination

LIVELLO IN USCITA

[stringa]

The location of the downloaded file

23.1.3.1.3. Python code

Algorithm ID: qgis:filedownloader

import processing
processing.run("algorithm_id", {parameter_dictionary})

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Usare gli algoritmi di Processing dalla console dei comandi for details on how to run processing algorithms from the Python console.