[Gambas-user] Using HTTPClient

Benoit Minisini gambas at ...1...
Sat May 22 15:30:20 CEST 2004


On Saturday 22 May 2004 14:51, locke demosthenes wrote:
> I've been trying to write a program which downloads
> debian packages lists, extracts them, lists them,
> allows you to download a package, and uses alien to
> convert it to a slackware package, then installs it.
> Basically, I love the speed of slackware, but I miss
> the ability to look through a huge list of packages.
> Swarett's list is much smaller.  Right now, I'm stuck
> on the first stop though.  I looked at the HTTP
> example, and it looks great.  The problem is, although
> I include gb.Net in my project, it still doesn't have
> HTTPClient.  How do I get that?  

You need the gb.net.curl component too.

> My second question, 
> can gb.Compress decompress tar.gz files, and if so
> how?  Thanks in advance
>
>                                             --Dan
>

If you decompress a tar.gz file with gb.compress, you will get the .tar file, 
which maybe is not what your need.

Call "tar" directly with EXEC or SHELL. It is far easier IMHO!

Regards,


-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list