1 2 3 4
print "download on work....\n"; my $WGET_command = "wget ".$link." -O ".$file; print "WGET-Command: ".$WGET_command."\n"; my $status = system($WGET_command);
1
2
3
4
Url4XAPI: http://open.mapquestapi.com/xapi/api/0.6/node[medical=aed]
download on work....
WGET-Command: wget http://open.mapquestapi.com/xapi/api/0.6/node[medical=aed] -O xapi4osm_node_1.osm
Der Befehl "wget" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
1 2 3 4 5 6 7 8 9 10 11 12
#!perl use strict; use warnings; $ENV{PATH} = 'P:\WGet;' . $ENV{PATH}; my $link = 'http://www.example.org'; my $file = 'test.txt'; print "download on work....\n"; my $WGET_command = "wget ".$link." -O ".$file; print "WGET-Command: ".$WGET_command."\n"; my $status = system($WGET_command); print $status;