Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I am trying to download .exe file from the server, I can fetch that file but while running the exe file, I get below error, "Missing filename header". below is the code:
Can you please help me to get rid of this error. Thanks & Regards.use strict; use LWP::Simple; my $url = "http://server:port/ws/1/console/webstart?full=true"; my $file = "Console.exe"; my $code = getstore($url, "$file"); print "CODE : $code\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Missing filename header
by Corion (Patriarch) on Mar 21, 2019 at 11:38 UTC | |
|
Re: Missing filename header
by hippo (Archbishop) on Mar 21, 2019 at 11:48 UTC | |
by Anonymous Monk on Mar 21, 2019 at 14:12 UTC | |
|
Re: Missing filename header
by Corion (Patriarch) on Mar 21, 2019 at 11:36 UTC | |
by Anonymous Monk on Mar 21, 2019 at 12:12 UTC | |
by Anonymous Monk on Mar 21, 2019 at 13:04 UTC |