Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arnold FLUTEAUX
To avoid this problem, I must make a 1 second pause and processmessages before launch a new connection. The MakePause procedure is like: FTPClient.ProcessMessages() intFinish = Timer + 1 Do While Timer intTempsFinal Loop FTPClient.ProcessMessages()

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
Arnold FLUTEAUX wrote: Hello, Sorry but I've always my problem. I launch a GET and I kill the client connection on my FTP server. Then, I launch a new connection and I've an error which triggers in the OnError : FTP already connected. And in overbite.ICS.ftpclient.pas there is this

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
Arnold FLUTEAUX wrote: Thanks for your response. I test it but when I cut on the connection with server during a download, a requestdone triggers but not the sessionclosed. Event OnSessionClosed is only triggered when the control connection closes. When data connection closes only

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arnold FLUTEAUX
Indeed, Requestdone triggers but once time, the connected property is set to true. If I try to launch again a getasync command without reconnection, at this time I have an error and the Connected property is set to False. And side server, I launch FTPServer.disconnect property and the client is

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
Arnold FLUTEAUX wrote: Indeed, Requestdone triggers but once time, the connected property is set to true. If I try to launch again a getasync command without reconnection, at this time I have an error and the Connected property is set to False. And side server, I launch FTPServer.disconnect

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arnold FLUTEAUX
If I understand well what you say, in may case, when I cut off voluntarily the connection from server side, the datasocket must be closed and the Connected property must be True. Is that ? What I don't understand is : -if I launch a quitAsync = I've FTP Component not connected. And if I

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
Arnold FLUTEAUX wrote: If I understand well what you say, in may case, when I cut off voluntarily the connection from server side, the datasocket must be closed and the Connected property must be True. Is that ? The order in which both connections are closed determines the server, it may be

[twsocket] Error 334

2006-07-12 Thread kaythorn
On running the AllInOne function in Mailsnd1 I got the following result: Connecting to SMTP server... 220 smtp001.apm-internet.net ESMTP 220 smtp001.apm-internet.net ESMTP RequestDone Rq=0 Error=0 EHLO Kaythorn EHLO Kaythorn 250-smtp001.apm-internet.net 250-smtp001.apm-internet.net