[fpc-pascal] question about fphttpclient
charles.edouard.des.vastes.vignes at gmail.com
Wed Feb 1 22:20:49 CET 2017
I use with great success (and pleasure!) the unit fphttpclient under winxp, mageia and raspbian with some
WITH TFPHTTPCLIENT.CREATE(NIL) DO
after having defined REQ (+initialisation with some url) and REP as ansistring's. To download text and
html pages, that works very nice.
My questions :
- Can I use the same code to download binary data like gzipped files with no "chance" that the content is
translated to a special codepage ?
- How can I have access to the date and size informations on the server side ?
Kindest regards, Ched'
More information about the fpc-pascal