in reply to Re^3: How to download or run exe file using rest client.
in thread How to download or run exe file using rest client.
Thanks for the reply, below code is working for me to get the exe file but while executing that file, I am facing "filename header error".
Are there any headers I need to pass here, how we can pass them.use strict; use LWP::Simple; my $url = "URL"; ##die "Couldn't get it!" unless defined $content; my $file = "BCM_console.exe"; my $code = getstore($url, "$file"); print "CODE : $code\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to download or run exe file using rest client.
by hippo (Archbishop) on Mar 20, 2019 at 13:21 UTC | |
by Anonymous Monk on Mar 20, 2019 at 14:36 UTC | |
|
Re^5: How to download or run exe file using rest client.
by thanos1983 (Parson) on Mar 20, 2019 at 12:27 UTC | |
|
Re^5: How to download or run exe file using rest client.
by Anonymous Monk on Mar 20, 2019 at 11:44 UTC | |
by poj (Abbot) on Mar 20, 2019 at 13:08 UTC | |
by Anonymous Monk on Mar 20, 2019 at 14:30 UTC | |
by poj (Abbot) on Mar 20, 2019 at 15:18 UTC | |
by Anonymous Monk on Mar 20, 2019 at 15:28 UTC | |
|