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

Reply via email to