|
Inicio → WINDEV 25 → WX (Windev, Webdev e Windev Mobile) - Live update com arquivo ini |
WX (Windev, Webdev e Windev Mobile) - Live update com arquivo ini |
Iniciado por Boller, 07,may. 2021 17:06 - No hay respuesta |
| |
| | | |
|
| |
Miembro registrado 4.549 mensajes |
|
Publicado el 07,mayo 2021 - 17:06 |
Exemplo
No servidor [sistemax] Versao = 2 ......
URLini is string = “http://w.com/versao.ini”
Httprequest (URLini)
Versao is string = Httpgetresult()
Fsavetext(fcurrentdir()+ fsep()+ “versaoserver.ini”, Versao)
Versao is string = iniread (...
Versaolocal is string = iniread (... If val(versao) > val(versaolocal)
Ftpconnect
If <> -1
Ftpget(URL)
End
Ftpclose
End
Execrun(file) Endprogram
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | | | |
| | |
|