HTTPRequest does not work in .exe

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
nodochau
Pro Scripter
Posts: 89
Joined: Wed Jan 16, 2019 12:59 pm

HTTPRequest does not work in .exe

Post by nodochau » Sun Jun 28, 2020 12:51 am

Hello All,
I just try to test the httprequest to download a picture on amazon website. It worked on my laptop where the macro scheduler is installed but after I compile it and run the exe file on my desktop then it did not work.
Do I need to do anything else beside compiling? Please help
Here is my code:

Code: Select all

let>link=https://m.media-amazon.com/images/I/A1Qiof4Q1QL._AC_UY327_QL65_.jpg
HTTPRequest>link,C:\pic\img.gif,GET,,response
MDL>DONE

User avatar
Grovkillen
Automation Wizard
Posts: 497
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: HTTPRequest does not work in .exe

Post by Grovkillen » Sun Jun 28, 2020 1:16 am

Do you have the folder created on the second computer?
Let>ME=%Script%

Running: 15.0.9
version history

nodochau
Pro Scripter
Posts: 89
Joined: Wed Jan 16, 2019 12:59 pm

Re: HTTPRequest does not work in .exe

Post by nodochau » Mon Jun 29, 2020 10:05 am

Hi Grovkillen,
I found the solution on this forum :)
Copied libeay32.dll, ssleay32.dll files into the folder where the exe file was.
It worked.
Thanks

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts