Search found 39 matches: internetclosehandle

Return to advanced search

Re: Strange characters in TFtp:directory()

... ),;                             FileTimeToTime( oWin32FindData:nLastWriteAccess ) } )          end       endif       InternetCloseHandle( hFTPDir )    endif return aFiles function StripFromNull(str)   local nPos := at(chr(0), str), cRet := ""   if !empty(str) ...
by hua
Tue Aug 20, 2019 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange characters in TFtp:directory()
Replies: 4
Views: 747

Re: FTP with Harbour / MSVC / FWH issues

... AS DWORD ) AS LONG; PASCAL FROM "InternetOpenA" LIB hLib DLL32 FUNCTION INETCLOSEHANDLE( hInternet AS LONG ) AS BOOL; PASCAL FROM "InternetCloseHandle" LIB hLib DLL32 FUNCTION INETCONNECT( hInternet AS LONG, cServerName AS LPSTR, nServerPort AS LONG, cUserName AS LPSTR, cPassword ...
by ShumingWang
Wed Jun 27, 2018 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP with Harbour / MSVC / FWH issues
Replies: 8
Views: 2444

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

... msginfo("Ningún archivo para la máscara: "+cMask) else msginfo("Archivo más reciente: "+lastFileinDir) endif */ endif INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) return clastFileinDir #pragma BEGINDUMP #include "windows.h" #include "wininet.h" ...
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: 1550

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: 9096

webservice desde FWH

... As 8, lpszHeaders As 8, dwHeadersLength As 7, dwFlags As 7, dwContext As 7) As 7 FROM "InternetOpenUrlA" PASCAL Lib xdll DLL32 FUNCTION InternetCloseHandle( hSession AS LONG ) AS BOOL PASCAL LIB xdll
by rterraz
Sat May 12, 2012 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: webservice desde FWH
Replies: 0
Views: 807

Re: Cliente FTP con FW+xH

... hConnect, cOrigen, cDestino, 0, 0 ) alert (lOk) CATCH ALERT ("Error FTP.",,"Descarga","X",,.t.) END ENDIF INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN nil 3) Llama a esa funcion desde cualquier parte de tu programa, sustituyendo ...
by Manuel Valdenebro
Sun Jan 29, 2012 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cliente FTP con FW+xH
Replies: 8
Views: 3166

Re: ayuda como subir archivo via ftp

... := FTPPUTFILE( hConnect, cOrigen, cDestino, 0, 0 )          alert (lOk)       CATCH          alert ("Error FTP.")       END    ENDIF INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN nil  
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: 1065

Re: No puedo acceder a mi FTP

... !INTERNETWRITEFILE( hDest, @cData, nRead ) ? "Upload error" EXIT ENDIF nPos += LEN( cData ) oPrg:SetPos( nPos ) ENDDO FCLOSE( hSource ) INTERNETCLOSEHANDLE( hSource ) INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN NIL #pragma BEGINDUMP #include "windows.h" ...
by mgsoft
Wed Aug 03, 2011 1:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo acceder a mi FTP
Replies: 4
Views: 1043

ERROR AL COMPILAR

... (c) 1997, 2000 Borland Error: Unresolved external 'InternetOpenA' referenced from C:\FWH\LIB\FIVEHC.LIB|WININET Error: Unresolved external 'InternetCloseHandle' referenced from C:\FWH\LIB\FIVEHC.LIB|WININET Error: Unresolved external 'InternetConnectA' referenced from C:\FWH\LIB\FIVEHC.LIB|WININET ...
by jesvela
Fri Oct 29, 2010 7:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR AL COMPILAR
Replies: 0
Views: 321

FTP con Timer

... } ) end end if InternetCloseHandle(hFTPDir) end if cBuffer:=nil oWin32FindData:cBuffer:=nil oWin32FindData:=nil hFTPDir:=nil return aFiles Un Saludo.
by softruz
Tue May 18, 2010 5:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP con Timer
Replies: 0
Views: 343

Re: Ayuda Por Favor

... "usuario", "clave", INTERNET_SERVICE_FTP, 0, 0 ) ? FTPPUTFILE( hConnect, "envia.txt", "envia.txt", 0, 0 ) INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN NIL #pragma BEGINDUMP #include "windows.h" #include "wininet.h" ...
by Julio Perez
Thu Jan 28, 2010 3:33 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda Por Favor
Replies: 6
Views: 1950

Re: Otra de FTP

... As Long dwReserved0 As Long dwReserved1 As Long cFileName As String * MAX_PATH cAlternate As String * 14 End Type Private Declare Function InternetCloseHandle Lib "wininet" (ByRef hInet As Long) As Long Private Declare Function InternetConnect Lib "wininet.dll" Alias ...
by QAZWSX2K
Tue Oct 06, 2009 12:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Otra de FTP
Replies: 14
Views: 4194

Re: FTP Again

... ! FTPPUTFILE( hConnect, "\\My Storage\MobApp\error.txt", "c:\fpt\error.txt", 0, 0 ) MsgAlert('FTP failed') // fails here endif INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN(NIL)
by Colin Haig
Sun Jul 12, 2009 1:08 am
 
Forum: FiveWin for Pocket PC
Topic: FTP Again
Replies: 8
Views: 2518

FTP Again

... on FTP Connection ") RETURN .F. ENDIF FTPPUTFILE( hConnect, "\\My Storage\\mobapp\\user.dbf", "user.dbf", 0, 0 ) INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN NIL Regards Colin
by Colin Haig
Thu Jul 09, 2009 9:35 am
 
Forum: FiveWin for Pocket PC
Topic: FTP Again
Replies: 8
Views: 2518

Re: wifi

... n2 AS LONG ) */ ferase ( CurDir() +"\"+aInfo[I,1]) else msginfo("konnte nicht gesendet werden: " + aInfo[I,1]) endif NEXT INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) //msginfo("OK") endif RETURN NIL #pragma BEGINDUMP #include "windows.h" ...
by Otto
Tue May 19, 2009 11:59 am
 
Forum: FiveWin for Pocket PC
Topic: wifi
Replies: 9
Views: 3619
Next

Return to advanced search

cron