 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Thomas Wegner Guest
|
Posted: Mon Nov 15, 2004 9:53 pm Post subject: Indy 10 and ContentLenght |
|
|
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
http://www.wegner24.de
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Mon Nov 15, 2004 10:42 pm Post subject: Re: Indy 10 and ContentLenght |
|
|
Forget it. There are to many places to modify.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> schrieb im Newsbeitrag
news:41992541 (AT) newsgroups (DOT) borland.com...
| Quote: | 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
http://www.wegner24.de
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Nov 15, 2004 10:55 pm Post subject: Re: Indy 10 and ContentLenght |
|
|
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote
| Quote: | you need to change the ContentLength property to Int64.
|
It is not so simple to do. There is a bunch of internal code that would
also have to change as well in order to support such a request.
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
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|