What if you try with FtpTst sample program delivered with ICS ? Are you able to reconnect after the first disconnect ? If not, then you have something broken in your ICS installtion. If yes, then there is something wrong in your own code and it is difficult to tell you what without seeing it.
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 Message ----- From: "A49 Consultants" <[EMAIL PROTECTED]> To: <twsocket@elists.org> Sent: Thursday, August 10, 2006 12:29 AM Subject: [twsocket] Can't reconnect TftpClient > My problem is essentially very simple and It has been asked a number of > times before but i just don't understand the answers. > > If i connect an ftpclient, upload some files, and disconnect, then > everything is fine > If I attempt to reconnect It simply doens't work > > the memo output is as below > > < 257 "/public_html" is your current location > Executing Requested Command > > QUIT > < 221-Goodbye. You uploaded 6 and downloaded 0 kbytes. > < 221 Logout. > Executing Requested Command > > you can see the logout, but it doesn't log back in again it just stops as > above. > > I have tried adding > > ftpclient1.Abort; > > before reconnecting with > > ExecuteCmd(FtpClient1.Connect, FtpClient1.ConnectAsync); > > this changes the output slightly to > > > QUIT > < 221-Goodbye. You uploaded 6 and downloaded 0 kbytes. > < 221 Logout. > Executing Requested Command > < 220---------- Welcome to Pure-FTPd [TLS] ---------- > < 220-You are user number 1 of 50 allowed. > < 220-Local time is now 15:23. Server port: 21. > < 220 You will be disconnected after 15 minutes of inactivity. > > but it stops here instead (no mention of username or password) > > ftpclient1.state is ftpReady before the connect is called. > > I have no training as a programmer at all, which is probably why i don't > understand any of the previous answers, but i have been programming for 20 > years > > Thanks for any help > > -- > 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