Have you try GNet? http://www.gnetlibrary.org/ it has support for http protocol object (GConnHttp) and also based on GLib.
--- ajhwb --- richard.sh...@virgin.net wrote: From: Richard Shann <richard.sh...@virgin.net> To: gtk-app-devel-list@gnome.org Subject: Gio library on Debian Lenny Date: Fri, 15 May 2009 13:01:23 +0100 Does anyone know if the gio library is working for getting files from the internet in the latest Debian Lenny distribution, x86? I have tried the following code: GError *err = NULL; GFile * file=g_file_new_for_uri ("http://www.rshann.plus.com/denemo.html"); GFileInputStream *stream = g_file_read(file, NULL, &err); if (err != NULL) { g_warning ("The opening of uri gave %s", err->message); if(err) g_error_free (err); err = NULL; } But get "Operation not supported message". It works ok with a local file (file:///home/...) should it be working for http? Richard _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _____________________________________________________________ Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list