Search found 22 matches: twebclient

Return to advanced search

Web camera

Hi.

There is a web camera. I know its IP address and can connect to it via the tWebClient class. How can I save a video to a file on disk
by Natter
Wed Aug 18, 2021 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Web camera
Replies: 2
Views: 431

Clase TWebClient: se puede usar un dominio en vez de la IP??

Saludos Gente... por aca jugando con la clase TWebClient veo que funciona perfecto excepto por un pequeño detalle... coloco el nombre del dominio: oWebClient:Connect( "www.guayoyosoft.net" ) pero resulta que ese dominio pertenece a un ...
by gsabattino
Mon May 07, 2012 12:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TWebClient: se puede usar un dominio en vez de la IP??
Replies: 0
Views: 375

Re: Clase para HTTP

Gracias Antonio,
He visto la clase TWebClient. Voy a tratar de hacer una clase con lo mejor de las dos. Cuando lo tenga hecho y probado os lo comento.
Un saludo
by AndresRomero
Fri Oct 14, 2011 6:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase para HTTP
Replies: 8
Views: 1459

Re: Clase para HTTP

Andrés,

FWH proporciona la Clase TWebClient y tienes un ejemplo de uso en samples\webclient.prg

Posiblemente entre la tuya y la nuestra, podamos mejorar ambas :-)
by Antonio Linares
Thu Oct 13, 2011 9:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase para HTTP
Replies: 8
Views: 1459

Re: Tsocket Bug

... tSocket.prg doesn't correctly handle the 10057 WSA error. Thank you for posting your class, but tSocket is used by other classes, like tSmtp, tWebClient, etc. so I need to fix the original one shipped with FWH because in reality this is causing me trouble on other classes, when the remote ...
by Davide
Mon Apr 19, 2010 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 5235

Re: http method get

... HTTP/1.0"+CHR(13)+CHR(10)+"Host: http://condominio.emessage.it"+chr(13)+chr(10) oWebClient := TWebClient():New() oWebClient:Connect( "condominio.emessage.it" ) oWebClient:bOnRead = { | cData | cad+=cData } oWebClient:oSocket:SendData( ...
by Marco Turco
Fri Nov 06, 2009 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: http method get
Replies: 6
Views: 980

Window y Dialog

... .and. nF<>0 cIP:=substr(cIP,nI+3,nF-nI-3) end if end if return cIP static function GetIPWeb(cServer,cWeb,oWnd) local oWebClient oWebClient:=TWebClient():New() oWebClient:Connect(cServer) oWebClient:bOnRead = { |cData| (cTextWeb+=cData,oWnd:end()) } oWebClient:oSocket:SendData( "GET ...
by softruz
Tue Nov 03, 2009 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Window y Dialog
Replies: 1
Views: 387

Re: Saber IP Pública

Mas o menos así (no lo he probado) local oWebcliente, cad oWebClient := TWebClient():New() oWebClient:Connect( "www.cualesmiip.com" ) oWebClient:bOnRead = { | cData | cad += cData } oWebClient:oSocket:SendData( "GET http://www.cualesmiip.com/index.html ...
by alvaro533
Fri Oct 30, 2009 1:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber IP Pública
Replies: 4
Views: 768

Re: TWebClient y servidores de IP compartida (Resuelto)

Lo acabo de encontrar:

oWebClient:oSocket:SendData( "GET /" + cPageName + " HTTP/1.0" + CRLF +"Host: www.hostname.com"+ CRLF +CRLF )

Alvaro
by alvaro533
Fri Oct 16, 2009 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebClient y servidores de IP compartida (Resuelto)
Replies: 1
Views: 389

TWebClient y servidores de IP compartida (Resuelto)

Buenas tardes. Estoy intentando leer una página de un servidor web usando TWebClient, pero el problema que me encuentro es que el servidor es de IP compartida y no sé como mandarle el campo "Host" con la clase TWebClient. ¿Se puede hacer? ¿hay que añadirle ...
by alvaro533
Fri Oct 16, 2009 10:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebClient y servidores de IP compartida (Resuelto)
Replies: 1
Views: 389

Re: Send an http request

... server, then you can use the IE ActiveX http://forums.fivetechsupport.com/viewtopic.php?f=3&t=15058 otherwise you can use the TwebClient class to retrieve the page unattendently (\samples\webclien.prg) Hi, Davide
by Davide
Sun Apr 26, 2009 11:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send an http request
Replies: 10
Views: 2978

Can you post some code on how this might be done. TWebClient allows you retrieving a file via the standard http port 80. Please see \fwh\samples\webclien.prg For the IE-ActiveX you need the most recent FWH. Antonio has posted a sample at: http://www.fivetechsoft.com/forums/viewtopic.php?t=12514 ...
by Davide
Wed Oct 22, 2008 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help: getting updates from a remote server.
Replies: 11
Views: 1704

Re: Help: getting updates from a remote server.

HunterEC wrote:Is there is a way that they can download their data (if entitled to, subscription based) automatically ?

In addition to tftp you can even use tWebClient and the IE-ActiveX to retrieve remotely hosted files.
Regards,
Davide
by Davide
Tue Oct 21, 2008 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help: getting updates from a remote server.
Replies: 11
Views: 1704

... había dos llamadas olvidadas a ValType(). Corregido !!! Gracias a Günther por detectarlo !!! * Mejora: El método GetPage( cPageName ) en la clase TWebClient. El método modificado permite recuperar una página de un servidor de alojamiento IP compartido (pero funciona incluso con los servidores ...
by Antonio Linares
Wed Sep 24, 2008 1:25 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN September / Septiembre 2008 (8.09)
Replies: 2
Views: 2872

New FTDN September / Septiembre 2008 (8.09)

... Fix: function chmHelpTopic( cnTopic ), there were two missing calls to ValType(). Fixed! Thanks to Günther for detecting it! * Enhancement: Class TWebClient METHOD GetPage( cPageName ). The modified method allows retrieving a page from a server with shared IP hosting ( but works even with static ...
by Antonio Linares
Thu Sep 18, 2008 11:36 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September / Septiembre 2008 (8.09)
Replies: 2
Views: 2872
Next

Return to advanced search