Jmsilva Posted October 9, 2017 Report Share Posted October 9, 2017 Olá, gostaria de saber se alguém já fez ou tem dicas para fazer o upload de um arquivo de backup para o Google Drive sem a necessidade de instalar no pc o gerenciador próprio. Rotina tipo um Ftp. JMSilva Caraguatatuba/SP Harbour 3.2/Fivewin 17.5 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 9, 2017 Report Share Posted October 9, 2017 http://forums.fivetechsupport.com/viewtopic.php?f=6&t=28634&p=160720&hilit=backup+Google+Drive#p160720 Quote Link to comment Share on other sites More sharing options...
Edu Posted October 9, 2017 Report Share Posted October 9, 2017 Boa tarde amigos. Vi no link que usa a hbcurl.lib do harbour, como faço para usá-la no xharbour? Grato. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 11, 2017 Report Share Posted October 11, 2017 Achei essa, mas é para XHB comercial, não sei se serve no free: https://code.google.com/archive/p/harbour-and-xharbour-builds/downloads http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30851&p=177662&hilit=hbcurl.lib+para+xharbour#p177662https://code.google.com/archive/p/harbour-and-xharbour-builds/downloads Quote Link to comment Share on other sites More sharing options...
Edu Posted October 11, 2017 Report Share Posted October 11, 2017 Achei essa, mas é para XHB comercial, não sei se serve no free: https://code.google.com/archive/p/harbour-and-xharbour-builds/downloads http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30851&p=177662&hilit=hbcurl.lib+para+xharbour#p177662https://code.google.com/archive/p/harbour-and-xharbour-builds/downloads Obrigado Kapi! Mas eu já tenho a lib. Eu não consigo compilar. Erros: Executando: ILINK32 @B32.BC Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '_curl_global_init_mem' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_global_cleanup' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_formfree' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_cleanup' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_reset' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_duphandle' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_init' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_hb_gcMark' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_hb_gcAllocate' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_pause' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_perform' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_send' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_recv' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_hb_storclen_buffer' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_formadd' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_slist_append' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_hb_parnldef' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_setopt' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_getinfo' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_slist_free_all' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_escape' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_unescape' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_version' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_version_info' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_strerror' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_getdate' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_escape' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_unescape' referenced from LIB\HBCURL.LIB|core Error: Unresolved external '_curl_free' referenced from LIB\HBCURL.LIB|core Quote Link to comment Share on other sites More sharing options...
Edu Posted October 11, 2017 Report Share Posted October 11, 2017 Kapi, Baixei a lib do link que vc enviou mas deu outro erro. Executando: ILINK32 @B32.BC Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF) Sabe o que pode estar causando este erro? kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 11, 2017 Report Share Posted October 11, 2017 Kapi, Baixei a lib do link que vc enviou mas deu outro erro. Executando: ILINK32 @B32.BC Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF) Sabe o que pode estar causando este erro? LIB muito antiga. Lamento. Jmsilva 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 17, 2017 Report Share Posted October 17, 2017 Só não entendi, onde entra o google drive aqui: http://forums.fivetechsupport.com/viewtopic.php?p=139852#p139852 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 Mister Cristobal Navarro enviou: http://forums.fivetechsupport.com/viewtopic.php?f=6&t=25638&start=15 http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30851 https://www.4shared.com/zip/YMxAWUrrca/HBCurl_lib__Anexos_.html https://www.4shared.com/file/zNT3faPMca/hbcurl.html Vamos testar? Abraços. Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 On 11/10/2017 at 4:35 PM, Edu said: On 11/10/2017 at 4:35 PM, Edu said: Kapi, Baixei a lib do link que vc enviou mas deu outro erro. Executando: ILINK32 @B32.BC Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF) Sabe o que pode estar causando este erro? This error is typically caused when trying to use a library for Visual Studio or Microsoft compiler with the Borland compiler or vice versa Quote Link to comment Share on other sites More sharing options...
Edu Posted October 18, 2017 Report Share Posted October 18, 2017 This error is typically caused when trying to use a library for Visual Studio or Microsoft compiler with the Borland compiler Thanks Cristoval but I'm not using Visual Studio. I'm using Fivewin 16.08, xharbour 1.2.3 and BCC 7.0. It's possible work with hbcurl ? If positive, what configurations I need to do? Best regards. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 Wow!! Mister Cristobal, welcome, bienvenido, bem vindo al Fivewin Brasil!! Best regards, saludos. cnavarro 1 Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 I'am sure this lib send for me to Kapiaba is for borland 7 Test your buildx.bat Quote set FWDIR=d:\fwh\fwhteam set XHDIR=d:\xharbour\xharbour7 set GT=gtgui set hdir=%XHDIR% set hdirl=%hdir%\lib set bcdir=d:\borland\bcc7 set fwh=%FWDIR% %hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log IF ERRORLEVEL 1 GOTO COMPILEERRORS @type comp.log @type warnings.log echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc %bcdir%\bin\bcc32 -M -c -v @b32.bc :ENDCOMPILE IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1 echo %bcdir%\lib\c0w32.obj + > b32.bc echo %1.obj, + >> b32.bc echo %1.exe, + >> b32.bc echo %1.map, + >> b32.bc echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc echo %hdirl%\rtl.lib + >> b32.bc echo %hdirl%\vm.lib + >> b32.bc echo %hdirl%\%GT%.lib + >> b32.bc echo %hdirl%\lang.lib + >> b32.bc echo %hdirl%\codepage.lib + >> b32.bc echo %hdirl%\macro.lib + >> b32.bc echo %hdirl%\rdd.lib + >> b32.bc echo %hdirl%\dbfntx.lib + >> b32.bc echo %hdirl%\dbfcdx.lib + >> b32.bc echo %hdirl%\dbffpt.lib + >> b32.bc echo %hdirl%\hbsix.lib + >> b32.bc echo %hdirl%\debug.lib + >> b32.bc echo %hdirl%\common.lib + >> b32.bc echo %hdirl%\pp.lib + >> b32.bc echo %hdirl%\pcrepos.lib + >> b32.bc echo %hdirl%\ct.lib + >> b32.bc echo %hdirl%\zlib.lib + >> b32.bc echo %hdirl%\hbzip.lib + >> b32.bc echo %hdirl%\libmisc.lib + >> b32.bc echo %hdirl%\tip.lib + >> b32.bc echo %hdirl%\png.lib + >> b32.bc echo %hdirl%\hbcc.lib + >> b32.bcecho %hdirl%\hbcurl.lib + >> b32.bc echo %fwh%\lib\libcurl.lib + >> b32.bc echo %bcdir%\lib\cw32.lib + >> b32.bc echo %bcdir%\lib\import32.lib + >> b32.bc echo %bcdir%\lib\uuid.lib + >> b32.bc echo %bcdir%\lib\ws2_32.lib + >> b32.bc echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc IF EXIST %1.res echo %1.res >> b32.bc rem uncomment this line to use the debugger and comment the following one if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc IF ERRORLEVEL 1 GOTO LINKERROR if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built * %1 GOTO EXIT ECHO Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 5 minutes ago, kapiaba said: Wow!! Mister Cristobal, welcome, bienvenido, bem vindo al Fivewin Brasil!! Best regards, saludos. Thanks, with pleasure Please, what it is? " New posts within a short time frame are limited. Please wait 112 seconds before submitting. " " New posts within a short time frame are limited. Please wait 262 seconds before submitting. " ..... kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 Thanks, with pleasure Please, what it is? " New posts within a short time frame are limited. Please wait 112 seconds before submitting. " " New posts within a short time frame are limited. Please wait 262 seconds before submitting. " ..... Maestro, espere cinco minutos para responder a un post. Esto es una seguridad del foro contra hackers. cnavarro 1 Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 Que dudas tienes con el TGoogle Drive? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 No soy jo que estoy con dudas y si el nick: <Edu>. Mas maestro, podrias poner un ejemplo autocontenido para nosotros probar? Muchas gracias, saludos. Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 Pero, para hacer una copia de seguridad de una unidad de Google, no necesitas nada, solo copiar los archivos a la carpeta de Google Drive del ordenador y cuando se ejecute la sincronización, estos archivos serán actualizados automáticamente. O es otro tema por el que se pregunta? Pero, para fazer um backup de um Google Drive, não necessitas nada, apenas copiar os arquivos na pasta de google drive en el ordenador e quando se ejecutar a sincronização, estes ficheros são atualizados automaticamente. O é outro tema por você? kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 Gracias maestro. Es que soy medio burro(estúpido ), jejejejejejejeje. Pensé que tenía algún programa en fivewin que lo haría automático. Quote Link to comment Share on other sites More sharing options...
Jmsilva Posted October 18, 2017 Author Report Share Posted October 18, 2017 Link para hbcur.lib https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/ https://github.com/harbour/core/tree/master/contrib/hbcurl Quote Link to comment Share on other sites More sharing options...
cnavarro Posted October 18, 2017 Report Share Posted October 18, 2017 20 minutes ago, kapiaba said: Gracias maestro. Es que soy medio burro(estúpido ), jejejejejejejeje. Pensé que tenía algún programa en fivewin que lo haría automático. No hombre. Yo tengo una clase que gestiona todos los servicios de Google, incluido GDrive y que no ha sido publicada aun. kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 18, 2017 Report Share Posted October 18, 2017 Esto!! Ahora comprendo. En el aguardo que usted publique las nuevas classes. Many thanks, muchas gracias. Quote Link to comment Share on other sites More sharing options...
Jorge Andrade Posted October 20, 2017 Report Share Posted October 20, 2017 Wow!! Mister Cristobal, welcome, bienvenido, bem vindo al Fivewin Brasil!! Best regards, saludos. Que puxação, tadinho de mim, comigo sai fora mano!! ahahahahahahah kapiaba 1 Quote Link to comment Share on other sites More sharing options...
Eroni Posted November 30, 2017 Report Share Posted November 30, 2017 Boa tarde galera, ressuscitando o tópico, sei que não é o mais recomentado, mas...... Estou tentando aproveitar este código: http://forums.fivetechsupport.com/viewtopic.php?f=6&t=25638&hilit=oauth#p139863 Para tentar obter a autenticidade (token) para tentar comunicar com o servidor da prefeitura de Florianópolis que usa o padrão OAuth também, recebo a mensagem ao executar o exemplo: "A execução de código não pode continuar porque LIBCURL.DLL não foi encontrado....." Alguém já...? Grato. Quote Link to comment Share on other sites More sharing options...
emotta Posted December 1, 2017 Report Share Posted December 1, 2017 Sem querer desanimar mas googledrive vai morrer ano que vem... Veja se vale a pena fazer algo que já tem data marcada pra acabar. https://olhardigital.com.br/noticia/google-anuncia-o-fim-do-app-do-drive-para-computador/70941 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.