la clase TURL en que lib o libs de xharbour esta

Post Reply
Vladimir Zorrilla
Posts: 225
Joined: Tue Feb 28, 2006 4:25 pm
Location: PERU

la clase TURL en que lib o libs de xharbour esta

Post by Vladimir Zorrilla »

Amigos

uso tip.lib para usar TURL pero me generate un GPF
uso xharbour 0.99.60

he aqui un ejemplo

vzdownload("http://www.aduanet.gob.pe/aduanas/sgdbf ... iculos.zip")


FUNC VZDOWNLOAD( cGUARDAR , cCOMO )
Local oUrl := tURL():New(cGUARDAR)
Local oClient := tIPClient():New( oUrl )
oClient:nConnTimeout := 20000
oClient:Open( oUrl )
oClient:ReadToFile( cCOMO )
oClient:Close()
retu .t.


Thanks
ME INTERESA FW Y XHB POR SER OPEN SOURCE
User avatar
Raymundo Islas M.
Posts: 590
Joined: Tue Mar 14, 2006 11:34 pm
Location: Acapulco, Gro. MEXICO

Post by Raymundo Islas M. »

Vladimir

Source\Classes

UrlLink.prg


SALUDOS
FWH 10.6 + xHarbour + Borland 582
R.F.
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Post by R.F. »

Tienes que linkear libreria TIP.LIB de xHarbour
Saludos
R.F.
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

oUrl := tURL():New(“http://www.my.com/down/a1.dll")
get a crash.

Regards!

Shuming Wang
Post Reply