Search found 54 matches: tinternet

Return to advanced search

Re: Error BASE/1089 Argument error: ABS

... #include "dll.ch" Function Main MsgRun( "Connecting to Internet...", "Please, wait",{ || oInternet := TInternet():New()}) Return Compilado con Buildx.bat de la carpeta de ejemplos Application =========== Path and name: J:\Fwh2307\fwh\samples\nuevo1.exe ...
by CARLOS ATUNCAR
Fri Jan 26, 2024 10:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error BASE/1089 Argument error: ABS
Replies: 7
Views: 435

Error BASE/1089 Argument error: ABS

... Called from: => ABS( 0 ) Called from: .\source\winapi\WININET.PRG => WININET( 23 ) Called from: .\source\classes\INTERNET.PRG => TINTERNET:NEW( 28 ) Called from: nuevo1.prg => (b)MAIN( 6 ) Called from: .\source\function\MSGRUN.PRG => (b)MSGRUN( 47 ) Called from: .\source\classes\DIALOG.PRG ...
by CARLOS ATUNCAR
Fri Jan 26, 2024 4:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error BASE/1089 Argument error: ABS
Replies: 7
Views: 435

Re: FTP Best Options ?

... the various options, and the pages Marc provided prior to making this post. Otto, your example uses what was supposed to be the simplified tInternet class with tFTP. It works for obtaining a directory. HOWEVER, that class has no UPLOAD or DOWNLOAD methods. SO ... I'm still hoping for more ...
by TimStone
Sun Mar 05, 2023 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Best Options ?
Replies: 8
Views: 739

Conexion FTP TSL

... FtpSendFile(cFtpSite, cSource, cTarget, cUser, cPass, nBufSize) ","FtpSendFile()") Return .f. ENDIF oInternet := TInternet():New() IF Empty( oInternet:hSession ) MsgAlert( "Internet session not available!" ) ELSE oFTP := TFTP():New( cFTPSite, oInternet, ...
by servicomver
Wed Jan 25, 2023 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conexion FTP TSL
Replies: 7
Views: 833

TFTP no reporta archivos para actualizacion de aplicacion

... .F.,lValRet:= .F. local lReturn := .F. MsgRun( "Connecting to Internet...", "Please, wait",{ || oInternet := TInternet():New()}) MsgRun( "Conectando al Servidor...", "Please, wait",{ ||oFTP := TFTP():New( cServer, oInternet,cUser,cpassword ...
by CARLOS ATUNCAR
Thu Jan 13, 2022 6:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFTP no reporta archivos para actualizacion de aplicacion
Replies: 4
Views: 461

Re: FTP Directory Method

... just be doing something wrong. Below is code from samples. The site I can connect from my browser fine. Function TestFtpDir() local oInternet := TInternet():New() local oFtp := TFtp():New( "speedtest.tele2.net", oInternet,"anonymous" ) local aFiles if !Empty( oFtp:hFTP ) aFiles ...
by byron.hopp
Sat Aug 10, 2019 8:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Directory Method
Replies: 6
Views: 922

Re: Bajar ficheros desde una conexión FTP.

// BDía, esto funciona para mi, en servidores FTP, con SFTP es otra historia. *--// Conexión con SFTP oInternet:=TInternet():New() oFTP :=TFTP():New('www.miftp.com.mx', oInternet, cUser:='Joel', cPassword:='123456', lFTPPAsivo:=.f., nPuerto:=21) if empty(oFTP:hFTP) oInternet:End() ...
by Joel Andujo
Tue Feb 27, 2018 3:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bajar ficheros desde una conexión FTP.
Replies: 5
Views: 1310

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

... }, ; { "I:\cPicker1.zip" } ) MsgRun( "Verbinde mit Internet...", "Bitte warten",; { || oInternet := TInternet():New(),; oFTP := TFTP():New( cFTPSite, oInternet, "-------", "--------" ) } ) // name and password needed !!! http://www.pflegeplus.com/IMAGES/Fpttest1.jpg ...
by ukoenig
Fri Apr 22, 2016 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to download a defined file from a homepage ?
Replies: 31
Views: 15279

Re: TInternet

Otto,

I use the same. This is my definition:

Code: Select all  Expand view
DLL FUNCTION DELETEURLCACHEENTRY( cUrl AS LPSTR ) AS BOOL;
    PASCAL FROM "DeleteUrlCacheEntryA" LIB "wininet.dll"


EMG
by Enrico Maria Giordano
Mon Mar 16, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TInternet
Replies: 3
Views: 863

Re: loosing memory with TInternet

Hello Otto


try to delete manually the aFTPs array

Code: Select all  Expand view
....
oInternet:End()

hb_ADel( oInternet:aFTPs, 1, .T. )
....
by Daniel Garcia-Gil
Mon Mar 16, 2015 2:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: loosing memory with TInternet
Replies: 1
Views: 437

loosing memory with TInternet

Can someone please help me. I am loosing memory with TInternet class. Please see the following program of the FW samples. I modified the code that the function is called in a loop. Please see the attached screen shot. Everytime you call the function ...
by Otto
Sun Mar 15, 2015 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: loosing memory with TInternet
Replies: 1
Views: 437

Re: TInternet

xbrowse(::aFTPs) Hello Michel, here in my case classdata aFTPs every time adds a new entry. As my program runs 24/7 I think this can’t be right. Also deleting the cache seems to me only a workaround. I think if you end the object all should be done. I do not know which side effects the change has bu...
by Otto
Sun Mar 15, 2015 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TInternet
Replies: 3
Views: 863

Re: TInternet

Otto, I experienced the same problem. You need to delete the filecache first before redownloading a file. This is the way I do this : DELFILECACHE({"http://file1","http://file2",...})******************************************************************************#...
by driessen
Sun Mar 15, 2015 6:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TInternet
Replies: 3
Views: 863

TInternet

Dear Antonio, I faced a problem with TInternet. I have a program which is downloading files from the internet. But when I update a file online the program still downloads the old version. I felt that the content must be somewhere in a buffer. ...
by Otto
Sat Mar 14, 2015 7:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TInternet
Replies: 3
Views: 863

Subir ficheros por FTP

... FTPSendFiles( cFTPSite, aSource, aTarget, cUserFtp, cPassFtp ) Local lEnd := .f. Local nBufSize := 2000 Local oInternet, oFTP oInternet := TInternet():New() if Empty( oInternet:hSession ) MsgAlert( "Sin Conexión a Internet!" ) else oFTP := TFTP():New( cFTPSite, oInternet, Alltrim(cUserFtp),Alltrim(cPassFtp)) ...
by Sebastián Almirón
Tue Nov 12, 2013 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subir ficheros por FTP
Replies: 4
Views: 1143
Next

Return to advanced search