Can I receive a binary file with HTTP control?

I would like to use the HTTP component to fetch non text (such as gif, jpg etc...) data. Can I do this with HTTP or do I need to use something else (such as IPPORT) to get the job done?

Date Entered: 09/04/1997    Last Updated: 06/07/2004

Certainly! First, assign the URL and (optionally) the LocalFile properties. Then call the Get method. The data is stored in the file specified in the LocalFile property or it is given as an argument in the Transfer Events. Look at the httpget demo for an example.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.