PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Save PDF from an HTTP url
Save PDF from an HTTP url
Iniciado por Dario D'Urzo, mar., 03 2017 4:36 PM - Sem resposta
Publicado em março, 03 2017 - 4:36 PM
Hi all,

someone can help me? i have to save on the mobile phone a pdf from an http url. I've tried with this:

IF HTTPRequest(fileUrl) THEN
fileBuffer = HTTPGetResult()
IF fSaveBuffer(path, fileBuffer) = False THEN
RESULT Null
END
END

but the file is not readable.
What i'm doing wrong?
Thank you very much