Board index » delphi » Indy 10 and ContentLenght
Thomas Wegner
![]() Delphi Developer |
Thomas Wegner
![]() Delphi Developer |
Indy 10 and ContentLenght2004-11-16 05:53:04 AM delphi160 Hello, you need to change the ContentLength property to Int64. I have a 2,4 GB File (Stream.Size = 2409088616). When i would like to serve this file and set the size to ContentLength, then this have a value of -1885878680 and Indy set it to 0 and clients not download the File! --------------------------------------------- Thomas Wegner Cabrio Meter - The Weather Plugin for Trillian www.wegner24.de |
Thomas Wegner
![]() Delphi Developer |
2004-11-16 06:42:32 AM
Re:Indy 10 and ContentLenght
Forget it. There are to many places to modify.
--------------------------------------------- Thomas Wegner Cabrio Meter - The Weather Plugin for Trillian www.wegner24.de "Thomas Wegner" <XXXX@XXXXX.COM>schrieb im Newsbeitrag QuoteHello, you need to change the ContentLength property to Int64. |
Remy Lebeau (TeamB)
![]() Delphi Developer |
2004-11-16 06:55:01 AM
Re:Indy 10 and ContentLenght
"Thomas Wegner" <XXXX@XXXXX.COM>writes
Quoteyou need to change the ContentLength property to Int64. The whole Integer vs Int64 issue is well known to Indy's programmers for a long time. It is not always simple to support Int64, usually due to VCL restrictions. And with the DotNet support now, we have to be careful in what code gets implemented in order to work across all three platforms that Indy supports (Indy, Win32, DotNet). Gambit |