[twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
Hello, i have installed the ics width Delphi7 i would download with the ftp-client a large file (6GByte). After 2GB the client hang (overflow integer) why doesn't work the in64-version of the functions in D7 ? in Delphi 5 the ftp-client works with get fine a download 6 GByte. Best regards

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Richard (Delphi) wrote: After 2GB the client hang (overflow integer) why doesn't work the in64-version of the functions in D7 ? Please post the line number where the exception is being raised. If you don't run the application in the IDE you can compile a debug-version using MadExcept

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Delphi wrote: Hello Arno Garrels i get the exception EIntOverflow in Line 3842 in ..\vcl32\wsocket.pas If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. If CBuilder 4 supports Int64 (D4

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Sorry, exchange {$END} by {$ENDIF}, the beer was too good yesterday 8-( bAllSent: Boolean; {$IFDEF COMPILER4_UP} FReadCount : Int64; {$ELSE} FReadCount : LongInt; {$ENDIF} FPaused : Boolean; And ~ Line 988: property AllSent :

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Angus Robertson - Magenta Systems Ltd
If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I successfully tested DVD image

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. Very strange that error never came up when I added 64-bit support to the FTP client 6 month

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Angus Robertson - Magenta Systems Ltd
Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I successfully tested DVD image files larger than 2 gigs. Is it possible that you tested the upload only? I would have testing both upload and download, but I was also testing

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
in delphi 5 it works fine, but in delphi 7 i get the error. is this acute;not the same code? (stream.pas)?? richard Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] schrieb: Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Francois PIETTE
- From: Richard (Delphi) [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 30, 2006 6:33 PM Subject: Re: [twsocket] FTPClient problem w. large files in D7 in delphi 5 it works fine, but in delphi 7 i get the error. is this acute;not the same code? (stream.pas

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
PROTECTED] http://www.overbyte.be - Original Message - From: Richard (Delphi) [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 30, 2006 6:33 PM Subject: Re: [twsocket] FTPClient problem w. large files in D7 in delphi 5 it works fine, but in delphi 7