Aleksey,
Create multiple FTP components, assign them the same event handlers.
for I := 1 to 10 do
begin
Ftp := TFtpClient.Create(nil);
[..]
Ftp.OnRequestDone := FtpRequestDone;
List.Add(Ftp);
end;
Cast the Sender that is available in any event handler like:
procedure TForm1.FtpRequestD
- Original Message -
From: "Aleksey Potjomkin" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 12, 2006 10:36 PM
Subject: Re: [twsocket] TWSocket Digest, Vol 199, Issue 2 (Aleksey
Potjomkin)
> Hello !
>
> > just download the ics v5 and then ha
Hello !
> just download the ics v5 and then have a look in de ics/internet
directory
OK, I did. But i'm still can't understand main point of it. How to handle
concurrent connections ??? As I understood, main feature of it is event
"OnRequestDone" and there I can make a switch:
" case
> >For your next message, be sure to use a proper subject. Using a proper
> >subject enhance your chances to get an answer.
>
> Is it OK now ?
Not, it isn't.
If you reply to a digest mode, change the subject line from "TWSocket
Digest..." to the original subject of the message you reply to (A d
> >For your next message, be sure to use a proper subject. Using a proper
> >subject enhance your chances to get an answer.
> Is it OK now ?
Hi Aleksey!
I'm also new to this but I think what Francois meant was that You should
_continue_ to use the subject that describes the contents of the th
>
> >Have a look at FtpAsy sample program (In ICS-V5 but also good for V6
> >provided you change the uses clause).
>
> Sorry, but i couldn't find any such sample as in ICS archive, same not at
> your website (User made section). Can you please give me exact way where
> to
> get this sample ?
>
>
Hello !
>For your next message, be sure to use a proper subject. Using a proper
>subject enhance your chances to get an answer.
Is it OK now ?
>Have a look at FtpAsy sample program (In ICS-V5 but also good for V6
>provided you change the uses clause).
Sorry, but i couldn't find any such
> 2) I used threads because i even didn't know that TFTPCli can handle
> concurrent connections. Sure i would try this method, but can you give me
> some advices how to use this feature ? Or even maybe some samples ?
Have a look at FtpAsy sample program (In ICS-V5 but also good for V6
provided yo
Aleksey,
> 1)I've posted some code in my message, what is there wrong there ?
That snippet just assigns some properties so doesn't tell me anything.
> 2) I used threads because i even didn't know that TFTPCli can handle
> concurrent connections. Sure i would try this method, but can you
> give
Hello Arno,
>I'm totally sure that this is because you do not use the
>component correctly.
>Tell us why you want to use threads, ICS can handle hundreds
>of concurrent connections easily, each transferring data at
>the same time, since it uses non-blocking sockets.
1)I've posted so
10 matches
Mail list logo