Wichtig
Übersetzen ist eine Gemeinschaftsleistung Sie können mitmachen. Diese Seite ist aktuell zu 63.46% übersetzt.
28.1.4. File tools
28.1.4.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.
Parameter
Grundlegende Parameter
Bezeichnung  | 
Name  | 
Typ  | 
Beschreibung  | 
|---|---|---|---|
URL  | 
  | 
[string]  | 
The URL of the file to download.  | 
File destination Optional  | 
  | 
[string] Standard:   | 
Specification of the file destination. One of: 
  | 
Fortgeschrittene Parameter
Bezeichnung  | 
Name  | 
Typ  | 
Beschreibung  | 
|---|---|---|---|
Methode  | 
  | 
[Aufzählung] Standard: 0  | 
The HTTP method to use for the request. Options are: 
  | 
Data Optional  | 
  | 
[string]  | 
The data to add in the body if the request is a POST.  | 
Ausgaben
Bezeichnung  | 
Name  | 
Typ  | 
Beschreibung  | 
|---|---|---|---|
File destination  | 
  | 
[string]  | 
The location of the downloaded file  | 
Pythoncode
Algorithm ID: qgis:filedownloader
import processing
processing.run("algorithm_id", {parameter_dictionary})
Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.