download-file Command

Downloads a file from Web and saves it on the disk.

Usage

 download-file
	url=<download url>
	[file=<output file>]
	[timeout=<download timeout>]

Parameters:

Examples

download-file url=http://download.geofabrik.de/osm/europe/montenegro.osm.bz2

Downloads montenegro.osm.bz2 file from Geofabrik's download server and saves it to the disk.

download-file url=http://download.geofabrik.de/osm/europe/montenegro.osm.bz2 file=test.osm.bz2

Downloads montenegro.osm.bz2 file from Geofabrik's download server and saves it to the disk as test.osm.bz2.

download-file url=http://download.geofabrik.de/osm/europe/montenegro.osm.bz2 timeout=2:0:0

Downloads montenegro.osm.bz2 file from Geofabrik's download server using two hours of timeout.