PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Save PDF from an HTTP url
Save PDF from an HTTP url
Started by Dario D'Urzo, Mar., 03 2017 4:36 PM - No answer
Posted on March, 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