Re: [twsocket] FTP resuming transfers

2006-09-01 Thread Dan
Its possible that a client can rollback some part of the file incase the end (where the transfer was interrupted) is corrupt. Some clients do a REST to eg. 4kb less than the current size. I think it makes more sense to set the position and size when the transfer begins following a REST command.

[twsocket] Need help with HTTP

2006-09-01 Thread Fastream Technologies
Hello, In the OnDocData of THttpCli descendent, I pause the THTtpCli and Send(Buffer, Len) to the THttpConnection (this is a proxy server). The problem is at ConnectionDataAvailable of THttpConnection, I cannot be sure that all the data is sent or is it complete because sometimes packets are m

Re: [twsocket] Handling redirects

2006-09-01 Thread Arno Garrels
Mike Versteeg wrote: > PS: I will gladly pay a few dollars for a good help file :) Source code is the best help file you can get, it even describes the bugs ;-) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Mike > > On 9/1/06, Francois Piette <[EMAIL PROTECTE

Re: [twsocket] Handling redirects

2006-09-01 Thread Mike Versteeg
Yes, that's correct. Thanks. PS: I will gladly pay a few dollars for a good help file :) Mike On 9/1/06, Francois Piette <[EMAIL PROTECTED]> wrote: > It is in the "location" property if memory is stille alive. > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [E

Re: [twsocket] Handling redirects

2006-09-01 Thread Francois Piette
It is in the "location" property if memory is stille alive. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Mess

Re: [twsocket] SMTPClient

2006-09-01 Thread Francois Piette
> > > produces "SMTP component not ready". Can you help me? As another message already said, you are trying to use an asynchronous (non-blocking) component as a synchronous component. Either revise you way of doing thing or use the "sync" version of the component. It is better to revise you

[twsocket] Some updates and a new component

2006-09-01 Thread Arno Garrels
Hello, 1) FTP c/s 64-bit stream support reworked and tested: a) http://www.duodata.de/misc/delphi/new-ics5-20060901.zip (includes latest changes from Angus Robertson) b) http://www.duodata.de/misc/delphi/new-ics6-20060901.zip (latest changes from Angus Robertson are still missing) 2) TSmtpCli

Re: [twsocket] SMTPClient

2006-09-01 Thread lalin
Hi Bevan Thanks for your response. I have corrected that but continues giving error. The first time that execute it, it connects but it fails in Data. The second time, it passes Connect and Data and it fails in Quit but I don't receive mail. I have tested with server 127.0.0.1 or localhost and it i

Re: [twsocket] OnDataAvailable and Reetrancy

2006-09-01 Thread Wilfried Mestdagh
But TWSocket will swallow the exception, so use this: var AFlag:Boolean procedure TForm.WSocketDataAvailable(Sender: TObject; ErrCode: Word); begin try if AFlag then raise Exception.Create('reentered'); AFlag := TRUE; try [..] finally AFla

Re: [twsocket] Handling redirects

2006-09-01 Thread Mike Versteeg
When this event is called, where can I get the new url? I need it to change the url I keep on file. Unfortunately the URL property does not get updated. thanks, Mike On 2/7/06, Francois Piette <[EMAIL PROTECTED]> wrote: > > > Assuming you use THttpCli, there is a property > > > called FollowRedi