- Timestamp:
- 2017-08-09T20:24:33+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/downloaders/WebDownload.pm
r31861 r31864 40 40 use strict; # every perl program should have this! 41 41 no strict 'refs'; # make an exception so we can use variables as filehandles 42 no strict 'subs'; 42 no strict 'subs'; # to pass STDERR/STDOUT to functions 43 43 44 use gsprintf 'gsprintf'; 44 45 … … 192 193 my $strBaseCMD = $strOptions." --tries=2 -q -O - \"$self->{'url'}\""; 193 194 194 #print STDOUT "\n@@@@ GETTING server_info with WGET CMD: $strBaseCMD\n\n";195 196 195 my $strIdentifyText = $self->useWget($strBaseCMD); 197 196 … … 200 199 print STDERR "Server information is unavailable.\n"; 201 200 201 #&util::print_env(STDERR, "https_proxy", "http_proxy"); 202 202 203 if ($self->{'proxy_on'} && $self->{'proxy_host'} && $self->{'proxy_port'}) { # if proxying set, the settings may be wrong 203 204 &gsprintf::gsprintf_multiline(STDERR, "{WebDownload.proxied_connect_failed_info}\n", $self->{'proxy_host'}, $self->{'proxy_port'});
Note:
See TracChangeset
for help on using the changeset viewer.