Re: gnome-ftp library?



I ended up using the ftp code from the actual rpm package (it is not
perfect, but it works).  I only made a few modifications to it so that I
could display a progress meter and have it process X events periodically.

As for having a gnome-ftp package, it may be an idea to create a more
general library where you could just tell it to get the data at this URL,
and write it to a file descriptor or to some memory, and not have to worry
about the protocol (this would also make the use of proxies transparent to
the programmer.  In fact, this would allow proxy settings to be stored
globally and manipulated by a capplet).  Such a library could be written
quite quickly using off the shelf components such as libghttp, some ftp
implementation, and from other sources.

Of course, this is a similar goal to that of libvfs.  Unfortunately, I
don't know how when libvfs will be separated from mc enough to be usable
(and compilable) for other programs.

James Henstridge.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Tue, 23 Feb 1999, Daniel Veillard wrote:

> >    I am getting ready to change some stuff in gFTP to add http
> > proxy support into it. I am going to separate some of the actual ftp code
> > a litle bit more from the program into separate modules, and I was
> > wandering if gnome already had a ftp library like gnome-http? I didn't
> > see any...so, if you guys want I can write a gnome-ftp library if there
> > already is none, and if no one has any objections
> 
>   Sounds fine for me, I guess that gnorpm was also looking for an FTP
> library and I don't know how James solved the problem.
>   It would be neat if all this Filesystems were sharing a common 
> interface (probably extracted from mc/vfs ...).
> 
>    my 2 cents,
> 
>  Daniel
> 
> -- 
> 	    [Yes, I have moved back to France !]
> Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
> Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
> Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
> http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]