BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 10 and ContentLenght

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Thomas Wegner
Guest





PostPosted: Mon Nov 15, 2004 9:53 pm    Post subject: Indy 10 and ContentLenght Reply with 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
Thomas Wegner
Guest





PostPosted: Mon Nov 15, 2004 10:42 pm    Post subject: Re: Indy 10 and ContentLenght Reply with quote



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





PostPosted: Mon Nov 15, 2004 10:55 pm    Post subject: Re: Indy 10 and ContentLenght Reply with quote




"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.