Search found 24 matches: nconntimeout

Return to advanced search

Re: xHarbour.org updated!

... CATCH CurSorArrow() MsgInfo('Conection Error','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 oCli:lSSL = .T. IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] := "5" hQuery["user"] ...
by wartiaga
Tue Sep 19, 2023 7:57 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39095

Re: xHarbour.org updated!

... CATCH CurSorArrow() MsgInfo('Conection Error','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 oCli:lSSL = .T. IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] := "5" hQuery["user"] ...
by wartiaga
Tue Sep 19, 2023 12:16 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39095

Re: xHarbour.org updated!

... MsgInfo('Erro ao criar a conexão','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 IF oCli:Open() <============================ this line returns false. hQuery["mod"] := "login" hQuery["comp"] ...
by wartiaga
Tue Sep 19, 2023 2:25 am
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39095

hbcurl xharbour

... MsgInfo('Erro ao criar a conexão','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] := "5" hQuery["user"] := ...
by wartiaga
Tue Jul 18, 2023 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbcurl xharbour
Replies: 1
Views: 225

TLS 1.2 doubt

... MsgInfo('Erro ao criar a conexão','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] := "5" hQuery["user"] := ...
by wartiaga
Thu Jul 13, 2023 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TLS 1.2 doubt
Replies: 7
Views: 375

Re: Function to download a defined file from a homepage ?

... cDirSer := cNomSer+"/actualiz" oUrl := tURL():New(http+cDirSer+"/Ammyy5.rar" ) oClient := tIPClientHTTP():New( oUrl ) oClient:nConnTimeout := nSegEsp IF oClient:Open( oUrl ) oClient:ReadToFile( cRutDes+"Ammyy5.rar",nil,nil,"no borra chr(13)") oClient:Close() ...
by ukoenig
Fri Apr 22, 2016 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to download a defined file from a homepage ?
Replies: 31
Views: 15328

FTP problem using tIpClientFTP

... cUrl:="ftp://"+cFusr+":"+cFpsw+"@"+cFsrv oFtp:=tIPClientFtp():New(cUrl,lTrace) oFtp:nConnTimeout:=nTimeOut if .not. oFtp:open() msginfo("Ftp error "+oFtp:LastErrorMessage()) quit endif if .not. oFtp:UploadFile(cFile) msginfo("ftp ...
by Marco Turco
Wed Jan 14, 2015 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP problem using tIpClientFTP
Replies: 6
Views: 1478

ftp problem

... oUrl:= turl():new(curl) oCred:= tIPCredentials() oFtp:= tipclientftp():NEW(oUrl,,.T.) oFTP:nConnTimeout := 20000 oFTP:bUsePasv := .T. IF oFTP:Open() cLista := oFTP:List() msginfo(cLista) ELSE msginfo("error") ENDIF
by Wanderson
Mon Feb 10, 2014 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ftp problem
Replies: 8
Views: 2102

Re: descargar fichero desde un servidor Https

oUrl := tURL():New(http+cDirSer+"/zerusbas.rar" ) oClient := tIPClientHTTP():New( oUrl ) oClient:nConnTimeout := nSegEsp IF oClient:Open( oUrl ) oClient:ReadToFile( cRutDes+"zerusbas.rar",nil,nil,"no borra chr(13)") oClient:Close() ELSE MYMEN("Error. ...
by russimicro
Thu Sep 19, 2013 8:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: descargar fichero desde un servidor Https
Replies: 7
Views: 2012

Problems with tIpClientFtp class - xharbour rev 9656

... cUrl:="ftp://"+cFtpUser+":"+cFtpPassword+"@"+cFtpSite oFtp:=tIPClientFtp():New(cUrl,lTrace) oFtp:nConnTimeout:=60000 if .not. oFtp:open() msginfo("ftp error "+oFtp:LastErrorMessage()) return(.f.) endif oFtp:dele(cFtpFileToDelete) oFtp:Close() ...
by Marco Turco
Mon Jan 21, 2013 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with tIpClientFtp class - xharbour rev 9656
Replies: 1
Views: 618

Re: Adquirir XML via Web

... := 0 IF Upper(Left(cUrl,4))#"HTTP" cUrl:="http://"+cUrl ENDIF TRY oConn := TipClientHttp():New(TURL():New(cUrl)) oConn:nConnTimeout := 20000 IF oConn:Open(cURL) oConn:ReadToFile(cSaveAs,,nFileSize) oConn:Close() ENDIF CATCH lReturn := .F. END RETURN lReturn //----------------------------------------------------------------------------//
by postinelli
Mon Nov 19, 2012 1:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Adquirir XML via Web
Replies: 9
Views: 1845

Re: Enviar/Recibir archivos via ftp [ SOLVED ]

... > 0 oUrl:cUserID := strtran(cUser,"&at;","@") oUrl:cPassword := cPassword ENDIF oFTP := tIPClientFtp():New( oUrl ) oFTP:nConnTimeout := 20000 oFTP:bUsePasv := .T. If oFTP:Open( ) eDlg:cMsg:="Bajando actualizaciones ...." eDlg:refresh() Sysrefresh() oFtp:cwd("casoft") ...
by CARLOALBATUN
Sun Sep 16, 2012 11:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar/Recibir archivos via ftp [ SOLVED ]
Replies: 22
Views: 8448

Re: Enviar/Recibir archivos via ftp [ SOLVED ]

... 0 oUrl:cUserID := strtran(cUser,"&at;","@") oUrl:cPassword := cPassword ENDIF oFTP := tIPClientFtp():New( oUrl, .T. ) oFTP:nConnTimeout := 20000 oFTP:bUsePasv := .T. oFTP:Open( ) IF oFtp <> NIL RETURN .T. ENDIF RETURN .F. ****************************************************************************** ...
by russimicro
Thu Dec 23, 2010 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar/Recibir archivos via ftp [ SOLVED ]
Replies: 22
Views: 8448

Re: http method get

... BEGIN SEQUENCE oUrl = TUrl():New( cUrl ) IF EMPTY( oUrl ); BREAK; ENDIF oCli = TIPClientHttp():New( oUrl ) IF EMPTY( oCli ); BREAK; ENDIF oCli:nConnTimeout = -1 IF !oCli:Open(); BREAK; ENDIF cErr = CVALTOCHAR( oCli:ReadAll() ) if cDataToCheck<>NIL if at(cDataToCheck,cErr)>0 lOk:=.t. ...
by Marco Turco
Fri Nov 06, 2009 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: http method get
Replies: 6
Views: 994

FTP

... + cUser + ":" + cPassword + "@" + cServer oUrl := tUrl():New(cUrl) oFtp := tIPClientFtp():New(oUrl,.t.) oFtp:nConnTimeout := 20000 oFtp:bUsePasv := .t. oFtp:lTrace := .f. if oFtp:open(cUrl) if oFtp:UpLoadFile((cFile)) oFtp:close() endif else ?? 'Error openning ...
by Colin Haig
Sat Jun 27, 2009 6:26 am
 
Forum: FiveWin for Pocket PC
Topic: FTP
Replies: 4
Views: 1008
Next

Return to advanced search

cron