1. Run a binary on the Internet. It's posible?
- Posted by sergelli Jul 27, 2012
- 1351 views
Is it possible to run a binary that is on a web server?
Eg. I have access with login and password at http://www.xxxx.zzz/bin/abcd Where abcd source is a program abcd.ex compiled Euphoria
I know I can run it through a html form and using a browser (already tested). But I want to run this binary using, for example sockets, in a program Euphoria em my PC
Anyone have any idea how to do this? If this is not possible, please let me know.
Thank you in advance.
2. Re: Run a binary on the Internet. It's posible?
- Posted by CoJaBo2 Jul 27, 2012
- 1314 views
You can access that URL from your app using the http lib; not sure how complete it is tho. http://openeuphoria.org/docs/std_net_http.html
3. Re: Run a binary on the Internet. It's posible?
- Posted by ghaberek (admin) Jul 27, 2012
- 1333 views
I know I can run it through a html form and using a browser (already tested). But I want to run this binary using, for example sockets, in a program Euphoria em my PC
I would suggest exactly that. Build your app so that it uses TCP sockets. Euphoria 4.0 includes support for sockets on all platforms, plus several example programs.
-Greg
4. Re: Run a binary on the Internet. It's posible?
- Posted by sergelli Jul 28, 2012
- 1265 views
I would suggest exactly that. Build your app so that it uses TCP sockets. Euphoria 4.0 includes support for sockets on all platforms, plus several example programs.
-Greg
Perhaps you should be talking about the examples that are in \euphoria\demo\net Is that right?
I have not tested the examples about clients and servers. But I tested what I thought to be the simplest: The wget.ex and google_tts.ex
The google_tts.ex is simply wonderful Never thought it would be possible to do such a thing so easily. And I did it on LINUX!
The small program wget.ex, brings the whole index.html any site within a few micro seconds ... That is very impressive.
So, congratulations to the team that made this work.
However, (snif), I found nothing in these examples, that solves my problem: I need to run a binary on the Internet.
How do I do this?
5. Re: Run a binary on the Internet. It's posible?
- Posted by jimcbrown (admin) Jul 29, 2012
- 1183 views
I would suggest exactly that. Build your app so that it uses TCP sockets. Euphoria 4.0 includes support for sockets on all platforms, plus several example programs.
-Greg
Perhaps you should be talking about the examples that are in \euphoria\demo\net Is that right?
I have not tested the examples about clients and servers. But I tested what I thought to be the simplest: The wget.ex and google_tts.ex
The google_tts.ex is simply wonderful Never thought it would be possible to do such a thing so easily. And I did it on LINUX!
The small program wget.ex, brings the whole index.html any site within a few micro seconds ... That is very impressive.
So, congratulations to the team that made this work.
However, (snif), I found nothing in these examples, that solves my problem: I need to run a binary on the Internet.
How do I do this?
Use the wget.ex demo along with http://openeuphoria.org/docs/std_os.html#_1841_system
6. Re: Run a binary on the Internet. It's posible?
- Posted by sergelli Jul 29, 2012
- 1253 views
Use the wget.ex demo along with http://openeuphoria.org/docs/std_os.html#_1841_system
Thank you Jimcbrown
It was surprisingly more easier than I expected.
To run a binary from the internet, I did the following:
eui wget http://www.audiophoto.com.br/cgi-bin/00Form/formLogin
The binary has to be in the cgi-bin folder, elsewhere will not run
So it worked perfectly