• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

How to receive Binary Data using Indy 10

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?

1 Solution
What component are you using to download? TIdFTP?

If yes, then set the TransferType of the FTP component to ftBinary.
myleseven2Author Commented:
cool thanks alot :)

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now