indy10 - File download issue in TIdHttp using Delphi -


i'm using delphi 10 seattle developing android mobile application , desktop application. , per requirement need download mp3 file (may 1 5 mb) , need save file in mobile app created using delphi. , using iis, made path in public , file can accessed where. , server system has upload speed 512 kbps , download speed 1mbps.
, i'm trying download file file server mobile using tidhttp.

if i'm using mobile app in wifi (download speed: 8 mbps, upload speed: 2 mbps), file getting downloaded properly.

but when i'm downloading file using mobile data (3g, download speed: 4 mbps, upload speed: 260 kbps), file not getting downloaded , showing exception 'read timeout'. have increased readtimeout 9999999. then, file not getting downloaded. when have tried open link in google chrome. then, file not playing.

should need increase upload speed speed of system or changing code, can download properly.

thanks in advance.

  1. try modern component thttpclient system.net.httpclient.
  2. can download file via web browser? sure, iis configured properly.

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -