PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Save PDF from an HTTP url
Save PDF from an HTTP url
Iniciado por Dario D'Urzo, 03,mar. 2017 16:36 - No hay respuesta
Publicado el 03,marzo 2017 - 16:36
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