TIpClientHttp()

Post Reply
CarlosFossati
Posts: 20
Joined: Fri May 22, 2015 4:05 pm

TIpClientHttp()

Post by CarlosFossati »

Utilizo Xharbour, y necesito usar la clase de referencia, que librerias debo utilizar,
Gracias!
CarlosFossati
Posts: 20
Joined: Fri May 22, 2015 4:05 pm

Re: TIpClientHttp()

Post by CarlosFossati »

Muchas gracias, voy a probar!
CarlosFossati
Posts: 20
Joined: Fri May 22, 2015 4:05 pm

Re: TIpClientHttp()

Post by CarlosFossati »

Hola Enrico, probe con la lib Tip, y no tira errores, pero ,me pide la harbour.dll.
que no la consigo, tenes idea donde obtenerla?
Gracias
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: TIpClientHttp()

Post by Enrico Maria Giordano »

You don't need harbour.dll. I don't know why it is asking for it. Check your compile batch.

EMG
CarlosFossati
Posts: 20
Joined: Fri May 22, 2015 4:05 pm

Re: TIpClientHttp()

Post by CarlosFossati »

El error es en tiempo de ejecucion, me pide que instale harbour.dll
CarlosFossati
Posts: 20
Joined: Fri May 22, 2015 4:05 pm

Re: TIpClientHttp()

Post by CarlosFossati »

Gracias, Enrico, habia incluido otra lib, y en el momento de la ejecucion, pedia que estuviese intalada la xharbour.dll, pude compilar, y ejecutar
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: TIpClientHttp()

Post by Carles »

Hi,

For HBTIP Users
WARNING for HBTIP users
=======================

Due to the excessive amount of problem reports and long known (and unfixed)
problems and due to the non-trivial nature of internet protocols, this document
_strongly recommends to avoid_ using this library in anything production or
in fact anything more serious than simple test code for educational purposes.
Please notice that even if something happens to work in some specific
scenario, it's highly likely it's not a stable solution, nor is it a secure
solution.

The only reason hbtip hasn't been deleted altogether is compatibility
with 3.0, xHarbour and existing projects, plus the fact there are still some
low-level functions that do work fine (tip_MimeType()) or have no better
replacement yet (tip_MailAssemble()).

For internet protocol related tasks, the recommended and supported library
is _hbcurl_, which is a thin wrapper over libcurl's 'easy' API. libcurl is
a highly ubiquitious, very stable, actively and professionally developed,
secure communications library:

https://curl.haxx.se/libcurl/c/

hbcurl's functionality covers _all_ hbtip protocol classes, and it does offer
support for several protocols besides these.

If you're looking for all required static and dynamic libraries to use hbcurl,
including OpenSSL and libssh2, both 32 and 64-bit. See this page about feature
support and other details:

https://github.com/vszakats/harbour-deps/

Usage examples found on the internet for other languages are most of the time
directly usable with minor modifications in Harbour. You can find several
working examples under the hbcurl tests directory as well. Live curl
command-lines can also be converted into compilable/adaptable API code using
the `--libcurl <targe-source-file>` curl option.

If you opt to use hbtip anyway, and find any problem with it (like very common
SMTP or FTP incompatibilities with various live servers found on the internet),
your best bet is to address the problem yourself. Patches of sufficent quality
will be of course accepted.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: TIpClientHttp()

Post by Enrico Maria Giordano »

I'm using TIPClientPOP with xHarbour and found no problem at all with it.

EMG
Post Reply