Search found 50 matches: internetopen

Return to advanced search

FTP with Harbour / MSVC / FWH issues

... running a program built with xHarbour / FWH that must do FTP processes. It works perfectly. I am using the .dll WININET and calling the functions: INTERNETOPEN INETCLOSEHANDLE FTPGETFILE FTPPUTFILE INTERNETCONNECT However, when I build using Harbour / MSVC / FWH, it appears to not recognize the ...
by TimStone
Tue Jun 19, 2018 11:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP with Harbour / MSVC / FWH issues
Replies: 8
Views: 2226

Re: FTP upload blocked by Firewall

... timeout a la conexion. Lo he probado una vez y parece que funciona. La llamada al metodo se ha de hacer despues de abrir la conexion de internet (InternetOpen()) y siempre que se quiera cambiar el timeout. Hay mas opciones que se pueden setear... yo de momento necesitaba solo el timeout. Mi idea ...
by hmpaquito
Thu Feb 05, 2015 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP upload blocked by Firewall
Replies: 8
Views: 2172

Re: Tftp - Directory no retorna la hora - Funciona a Medias

... cMask,cIP,cUser,cPass ) local hInternet, hConnect local clastFileinDir:=space(260) default cMask := "*.*" hInternet = INTERNETOPEN( "Anystring", INTERNET_OPEN_TYPE_DIRECT, 0, 0, 0 ) hConnect = INTERNETCONNECT( hInternet, cIP, INTERNET_INVALID_PORT_NUMBER, ...
by Verhoven
Mon Jun 24, 2013 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tftp - Directory no retorna la hora - Funciona a Medias
Replies: 5
Views: 1412

Re: moving to MSVC 32 bits

Lucas, These functions are duplicated in ftp.prg or ftp.c. There is no ftp.* in FWH neither in Harbour, unless I miss something: fiveh32.lib(WININET.obj) : warning LNK4006: _HB_FUN_INTERNETOPEN ya se definió en ftp.obj; segunda definición omitida fiveh32.lib(WININET.obj) : warning LNK4006: _HB_FUN_I...
by Antonio Linares
Sun Mar 03, 2013 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: moving to MSVC 32 bits
Replies: 44
Views: 8192

Webservice desde FWH

... DEFAULT buffersize:=3200 ::sbuffer:=buffersize xDll:=LoadLib32("wininet.dll") // esta linea fue modificada por mi para probar ::hOpen = InternetOpen("TdWebService", 1,"User","Password", 0) // esta es la linea original ::hOpen = InternetOpen("TdWebService", ...
by rterraz
Sat May 12, 2012 5:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Webservice desde FWH
Replies: 0
Views: 1025

webservice desde FWH

... New(conexion,buffersize) CLASS TdWebService DEFAULT buffersize:=3200 ::sbuffer:=buffersize xDll:=LoadLib32("wininet.dll") ::hOpen = InternetOpen("TdWebService", 1,"testwservice","testwservicepsw", 0) RETURN Self ***************************** METHOD OpenWS(url) ...
by rterraz
Sat May 12, 2012 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: webservice desde FWH
Replies: 0
Views: 793

Como tomar fecha y hora de un archivo en un FTP??

... algo muy simple y es obtener fecha y hora de un archivo que se encuentre dentro de una carpeta del servidor FTP Estoy haciendo esto: hInternet :=INTERNETOPEN( "CualquierCosa", INTERNET_OPEN_TYPE_DIRECT, 0, 0, 0 ) hConnect :=INTERNETCONNECT( hInternet, cFTP_url, INTERNET_INVALID_PORT_NUMBER, ...
by gsabattino
Sun May 06, 2012 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como tomar fecha y hora de un archivo en un FTP??
Replies: 1
Views: 1038

Re: Cliente FTP con FW+xH

... hInternet, hConnect, lOk // cargamos la DLL si no estaba cargada hWinINet := WinINet() if hWinINet < 0 .or. hWinINet >= 32 hInternet := InternetOpen( "Valdenebro", INTERNET_OPEN_TYPE_DIRECT, 0, 0, 0 ) endif hConnect := INTERNETCONNECT( hInternet, cFtpAddress, nPort, cUser, ...
by Manuel Valdenebro
Sun Jan 29, 2012 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cliente FTP con FW+xH
Replies: 8
Views: 2977

Re: ayuda como subir archivo via ftp

... hConnect, lOk // cargamos la DLL si no estaba cargada hWinINet := WinINet()    if hWinINet < 0 .or. hWinINet >= 32       hInternet := InternetOpen( "ftp", INTERNET_OPEN_TYPE_DIRECT, 0, 0, 0 )    endif    hConnect := INTERNETCONNECT( hInternet, cFtpAddress, 21, cUser, cPass, ...
by Manuel Valdenebro
Fri Dec 09, 2011 3:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda como subir archivo via ftp
Replies: 3
Views: 1022

Re: No puedo acceder a mi FTP

... 16 #define FILE_ATTRIBUTE_ARCHIVE 32 #define FILE_ATTRIBUTE_NORMAL 128 #define FILE_ATTRIBUTE_TEMPORARY 256 // // access types for InternetOpen() // #define INTERNET_OPEN_TYPE_PRECONFIG 0 // use registry configuration #define INTERNET_OPEN_TYPE_DIRECT 1 // direct to net #define ...
by mgsoft
Wed Aug 03, 2011 1:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo acceder a mi FTP
Replies: 4
Views: 982

Error en Tinternet

... Antonio. Tengo una aplicacion compilada con fwh27 y xHarbour 1.0 y la clase Tinternet me arroja el siguiente error: Called from STR(0) Called from INTERNETOPEN(0) Called from TINTERNET:NEW(0) El problema es que no puedo por ahora migrar a la version de Fwh10.3 Pregunta: como puedo corregir este ...
by devtuxtla
Fri Sep 24, 2010 6:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Tinternet
Replies: 0
Views: 250

Re: Autenticacion user/password en una web

... En ambos casos, antes de realizar una petición (request), se realizan dos pasos obligatorios: 1) InternetOpen 2) InternetConnect En la funcion InternetOpen es donde se incluye el usuario y la password. Tu estás accediendo a través de un atajo por ...
by Manuel Valdenebro
Mon Jun 14, 2010 4:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Autenticacion user/password en una web
Replies: 8
Views: 2608

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Hi Antonio Here is the stripped down list, for clarity purpose the irrelevant entries are removed. ---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------...
by Pritpal Bedi
Mon Jun 07, 2010 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99024

Re: Ayuda Por Favor

... sirve. Es cualquier nombre que quieras usar. Prueba a usar MsgInfo() para ver que valores toman hInternet y hConnection: hInternet = INTERNETOPEN( "Anystring", INTERNET_OPEN_TYPE_DIRECT, 0, 0, 0 ) MsgInfo( hInternet ) hConnect = INTERNETCONNECT( hInternet, "Your ftp ...
by Antonio Linares
Thu Jan 28, 2010 5:58 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda Por Favor
Replies: 6
Views: 1629

Re: Ayuda Por Favor

... 16 #define FILE_ATTRIBUTE_ARCHIVE 32 #define FILE_ATTRIBUTE_NORMAL 128 #define FILE_ATTRIBUTE_TEMPORARY 256 // // access types for InternetOpen() // #define INTERNET_OPEN_TYPE_PRECONFIG 0 // use registry configuration #define INTERNET_OPEN_TYPE_DIRECT 1 // direct to net #define ...
by Julio Perez
Thu Jan 28, 2010 3:33 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda Por Favor
Replies: 6
Views: 1629
Next

Return to advanced search