How to receive Binary Data using Indy 10

Posted on 2006-03-25
Last Modified: 2011-04-14
Hi there,
I am trying to build an update feature in my application.
I have Indy 10 installed and am trying to use it to connect and download the latest version of my software from the server.

It seems that I am able to download the data from the server but it comes in a string form. This when downloaded will not run as an exe. I think that I need to download the data in binary format.

Does anyone know how to help. All the examples on the internet that I can see seem to be for Indy 9 and they do not work for Indy 10. Or maybe I just don't know how?

Question by:myleseven2
    LVL 14

    Accepted Solution

    What component are you using to download? TIdFTP?

    If yes, then set the TransferType of the FTP component to ftBinary.

    Author Comment

    cool thanks alot :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now