1. Run a binary on the Internet. It's posible?

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.

new topic     » topic index » view message » categorize

2. Re: Run a binary on the Internet. It's posible?

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Run a binary on the Internet. It's posible?

sergelli said...

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Run a binary on the Internet. It's posible?

ghaberek said...

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?

new topic     » goto parent     » topic index » view message » categorize

5. Re: Run a binary on the Internet. It's posible?

sergelli said...
ghaberek said...

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: Run a binary on the Internet. It's posible?

jimcbrown said...

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu