• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • 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?

regards
Myles
0
myleseven2
Asked:
myleseven2
1 Solution
 
DragonSlayerCommented:
What component are you using to download? TIdFTP?

If yes, then set the TransferType of the FTP component to ftBinary.
0
 
myleseven2Author Commented:
cool thanks alot :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

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