I am having an issue with downloading by HttpCli.
I am doing a really simple synchronous download of a binary file:
HTTP.RcvdStream := TFileStream.Create(UpdateFileName,fmCreate);
HTTP.URL := RemoteFileName;
The file appears to be retrieved fine, and the resultant file size matches
the one on the web, but it is an executable file and does not run afterward.
So I am assuming it is being corrupted in some way. Is there a special
mode/property for downloading binary files? I did not see any mention of it
in the FAQ.
I am converting a small indy application that used that HTTP component into
ICS. I prefer to retrieve the web file by HTTP, but I can convert to ICS FTP
is absolutely necessary.
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be