1. Re[2]: Generic HTTP access?
- Posted by akusaya at gmx.net Jul 03, 2006
- 611 views
>> Check out the code available in wxEuphoria. I think there's even a sample >> program. At least that way you could use both Windows and BSD. > This seems to be the best idea. Thanks. > I'm a bit disappointed that Euphoria hasn't got this in open() or > something. The language isn't all that platform independant if its networking > isn't. Yes, I agree! Networking is an ability that is supported natively on all modern OSes. Euphoria should have native support for networking! (at least support tcp and udp and name lookup)
2. Re: Re[2]: Generic HTTP access?
- Posted by Hallvard Ystad <euphoria at babelserver.org> Jul 03, 2006
- 617 views
- Last edited Jul 04, 2006
akusaya wrote: > Yes, I agree! Networking is an ability that is supported natively on > all modern OSes. Euphoria should have native support for networking! > (at least support tcp and udp and name lookup) Basically, there should be no difference (anymore), when opening a file, whether that file be on your local file system or on a remote server. To me, open() is the logical place to access anything over http... Euphoria has its moments, but this was definately not one of them... HY Prætera censeo Carthaginem esse delendam
3. Re: Re[2]: Generic HTTP access?
- Posted by Julio C. Galaret Viera <galaret at adinet.com.uy> Jul 03, 2006
- 618 views
- Last edited Jul 04, 2006
Have you libcURL installed on your machines? If so, download eulibcurl.e from http://www.raymondsmith.com/euphoria/downloads/eulibcurl02.zip Include eulibcurl.e in your program after changing the path to the library:
if platform() = WIN32 then path/to/libcurl.dll else path/to/libcurl.so end if
By including eulibcurl.e you can access a function called «curl_easy_get_file()» that downloads any web page. In the zip file there is also a demo: easy_download.exw. JG