I think I got it, please try: procedure TIcsBufferHandler.DeleteAllData; var Buf : TIcsBuffer; begin Buf := FInUseList.RemoveFromListHead; while Assigned(Buf) do begin add => Buf.WrCount := 0; add => Buf.RdCount := 0; FFreeList.AddToListHead(Buf); // Put in free list Buf := FInUseList.RemoveFromListHead; end; end;
--- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fastream Technologies wrote: > To sum up: The problem occurs with CuteFTP Pro, when multi-part (>=4) > downloads are used with multiple file downloads simultaneously. And > most often, the firstly completed file is not corrupt but followers > are... > > Regards, > > SZ > > On 10/23/06, Arno Garrels <[EMAIL PROTECTED]> wrote: >> Fastream Technologies wrote: >>> Yes. I tried with a 2-years-old version. >> >> Very strange, I just tested V5 with latest unofficial >> changes successfully as well. >> Also no corruption occured with smaller files (2 x 125 KB), >> and a single bigger file in V6. >> >> --- >> Arno Garrels [TeamICS] >> http://www.overbyte.be/eng/overbyte/teamics.html >> >> >>> >>> ----- Original Message ----- >>> From: "Arno Garrels" <[EMAIL PROTECTED]> >>> To: "ICS support mailing" <twsocket@elists.org> >>> Sent: Sunday, October 22, 2006 10:18 PM >>> Subject: Re: [twsocket] Bug report for TFTPServer >>> >>> >>>> Fastream Technologies wrote: >>>>> What about the PASV ports being mixed up? Could this be possible? >>>>> The ICS code for old versions prior to manual passive ports - >>>>> seemed to- work fine here! >>>> >>>> Please check that out. Are such older ICS versions realy working >>>> fine? >>>> >>>> Thanks >>>> >>>> --- >>>> Arno Garrels [TeamICS] >>>> http://www.overbyte.be/eng/overbyte/teamics.html >>>> >>>> >>>>> >>>>> Regards, >>>>> >>>>> SZ >>>>> >>>>> On 10/22/06, Arno Garrels <[EMAIL PROTECTED]> wrote: >>>>>> Fastream Technologies wrote: >>>>>>> It is best observed with file sizes > 100kb. Do you agree? >>>>>> >>>>>> I do not know, my test files were 3.750 KB. >>>>>> The file offset seemes to be set correctly in >>>>>> ClientRetrSessionConnected, CuteFTP seems to create a temp-file >>>>>> for each part and merges them later. In some of those temporary >>>>>> part- files I found corrupted data as well as data that should >>>>>> have been downloaded to a different part-file? >>>>>> >>>>>> --- >>>>>> Arno Garrels [TeamICS] >>>>>> http://www.overbyte.be/eng/overbyte/teamics.html >>>>>> >>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> SZ >>>>>>> >>>>>>> On 10/21/06, Arno Garrels <[EMAIL PROTECTED]> wrote: >>>>>>>> Fastream Technologies wrote: >>>>>>>>> What comes to my mind: since it only occurs with non-first >>>>>>>>> files and with at least 4 connections per file, I believe >>>>>>>>> there is something wrong with the state-machine. >>>>>>>> >>>>>>>> That's not true it happens as well with two files and even >>>>>>>> sometimes the first file gets corrupted. >>>>>>>> >>>>>>>>> It simply loses its state after the >>>>>>>>> first request is complete and second is started. Also the >>>>>>>>> problem occurs in the non-first connection of the non-first >>>>>>>>> file: IOW, it happens after one file is complete and second or >>>>>>>>> third is 75%. At least here. >>>>>>>> >>>>>>>> Anyway, currently I have no idea what happens. >>>>>>>> >>>>>>>> --- >>>>>>>> Arno Garrels [TeamICS] >>>>>>>> http://www.overbyte.be/eng/overbyte/teamics.html >>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> SZ >>>>>>>>> >>>>>>>>> On 10/21/06, Arno Garrels <[EMAIL PROTECTED]> wrote: >>>>>>>>>> Fastream Technologies wrote: >>>>>>>>>>> Anyway, the problem PERSISTS on your code as well! Please >>>>>>>>>>> download the trial CuteFTP Pro and see. >>>>>>>>>> >>>>>>>>>> That's true, only I cannot find anything buggy in the ICS FTP >>>>>>>>>> Server. >>>>>>>>>> >>>>>>>>>> When you select Multi-Part Download (Max n parts) Cute FTP >>>>>>>>>> connects n clients. Each client starts downloading the same >>>>>>>>>> file from a different file offset. I think that works well at >>>>>>>>>> the ICS- FTP- server- side, may be CuteFtp does not resample >>>>>>>>>> the parts correctly, I'm not 100% sure? Against Filezilla >>>>>>>>>> server files get corrupted as well, however it works against >>>>>>>>>> Serv-U, very strange? Anybody any idea? >>>>>>>>>> >>>>>>>>>> --- >>>>>>>>>> Arno Garrels [TeamICS] >>>>>>>>>> http://www.overbyte.be/eng/overbyte/teamics.html >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> To unsubscribe or change your settings for TWSocket mailing >>>>>>>>>> list please goto >>>>>>>>>> http://www.elists.org/mailman/listinfo/twsocket Visit our >>>>>>>>>> website at http://www.overbyte.be >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Fastream Technologies >>>>>>>>> Software IQ: Innovation & Quality >>>>>>>>> www.fastream.com | Email: [EMAIL PROTECTED] | Tel: +90-312- >>>>>>>>> 223- 2830 >>>>>>>> -- >>>>>>>> To unsubscribe or change your settings for TWSocket mailing >>>>>>>> list please goto >>>>>>>> http://www.elists.org/mailman/listinfo/twsocket Visit our >>>>>>>> website at http://www.overbyte.be >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Fastream Technologies >>>>>>> Software IQ: Innovation & Quality >>>>>>> www.fastream.com | Email: [EMAIL PROTECTED] | Tel: +90-312- >>>>>>> 223- 2830 >>>>>> -- >>>>>> To unsubscribe or change your settings for TWSocket mailing list >>>>>> please goto http://www.elists.org/mailman/listinfo/twsocket >>>>>> Visit our website at http://www.overbyte.be >>>>>> >>>>> >>>>> >>>>> -- >>>>> Fastream Technologies >>>>> Software IQ: Innovation & Quality >>>>> www.fastream.com | Email: [EMAIL PROTECTED] | Tel: +90-312-223- >>>>> 2830 >>>> -- >>>> To unsubscribe or change your settings for TWSocket mailing list >>>> please goto http://www.elists.org/mailman/listinfo/twsocket >>>> Visit our website at http://www.overbyte.be >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> > > > -- > Fastream Technologies > Software IQ: Innovation & Quality > www.fastream.com | Email: [EMAIL PROTECTED] | Tel: +90-312-223-2830 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be