Search Ada Lib for open a file over http -


i'm searching library can include in program open file given internet address. http://foobar.com/foobar.txt.

like

ada.text_io.open (file, ada.text_io.in_file, "bla.txt");
not limited on local files.

well, aren't liable find exact interface, text_io standard library , can't extended third parties in way.

if platform's underlying filesystem support http, work want. don't know of platform works way however.

what want general solution aws (ada web server). person use implement full-blown web server if want, contains http client facilities. http client want (see aws.client). bit more work on part making 1 standard api call, no work.

here's example, cribbed rosetta code:

with ada.text_io;  use ada.text_io;  aws.client; aws.response;  procedure http_request begin    put_line (aws.response.message_body (aws.client.get (url => "http://www.rosettacode.org"))); end http_request; 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -