B
B
babon2014-10-04 17:28:54
Delphi
babon, 2014-10-04 17:28:54

How to download a file from the Internet?

The question is elementary - download a 800mb file in delphi from the link " starcrack.orisale.ru/files.zip ", while displaying the download progress on the TProgressBar.
I tried different options, via IdHttp, WinInet, even tried to download via ftp, but there were some problems with each option.
I execute the code in TThread.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AlexP11223, 2014-10-04
@AlexP11223

So show the code and tell what exactly is the problem.
Instead of Indy, I usually liked Synapse better. synapse.ararat.cz/doku.php/download

B
babon, 2014-10-05
@babon

There were many different solutions, but they all did not work due to different errors. Someone can just give a working and tested code that works for you?

Z
zed, 2014-10-05
@zedxxx

Someone can just give a working and tested code that works for you?

Easy: https://bitbucket.org/sas_team/sas.planet.src/src/...
Only I doubt it will help you much. Downloading a file from the Internet is an elementary task and there are +100500 ways to solve it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question