Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Speed up File Transfer with Indy components

Posted on 2004-04-23
Medium Priority
Last Modified: 2010-04-04

i'm working with extremly large files (700 Mbyte).
How to speed up datatransfer between Client and server, can I increase the package size
with indy components ?

best regards

Question by:BdLm
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 12

Expert Comment

ID: 10907352
I've found best performance with Send/RecvBufferSize of ~1mb
you can also disable Nagle ( does not wait for the ACK response before sending the next packet )
LVL 12

Expert Comment

ID: 10907360
oh .. you could also add in the CompressionIntercept .. if you're mainly transferring already compressed files like movies or packed archives then this would only be an overhead
for text files or some docs it really adds a performance boost

Author Comment

ID: 10915708
Changing sendBufferSize & receiveBufferSize on the Indy TCP Client component is enough?
Where can I set the Compression Mode ?

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Expert Comment

ID: 10916099
you chain in a TCompressionIntercept to a TCPConnection.Intercept

Author Comment

ID: 10929897
sorry I did not understand : TCompressionIntercept to a TCPConnection.Intercept,
where can I find this property ?
LVL 12

Accepted Solution

Lee_Nover earned 375 total points
ID: 10933589
Indy 9.0.14
TIdTCPClient/TIdTCPServer.Intercept - TIdCompressionIntercept
TIdTCPConnection - property Intercept: TIdConnectionIntercept read FIntercept write SetIntercept;

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

618 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