Re: New user: Cannot disconnect and reconnect on FTP Server Timeout.

Giganews Newsgroups
Subject: Re: New user: Cannot disconnect and reconnect on FTP Server Timeout.
Posted by:  Brendan Blake (bbla…@dsl.pipex.com)
Date: Thu, 11 Mar 2004

That's it!  Works like a dream.  Many thanks indeed.  I'd assumed only the
TIdFTP methods were available - but I'm learning.

Thanks again - Brendan Blake.

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:E89527BF3195E240gambit47.no.spam@no.spam.yahoo.com...
>
> "Brendan Blake" <bbla…@dsl.pipex.com> wrote in message
> news:9ACA3FA92C95E240bbla…@dsl.pipex.com...
>
> > But I can't, for the life of me, find out how to disconnect and reset.
>
> Just call Disconnect() and then Connect() again.
>
> > But disconnecting (using Quit) doesn't work
>
> Don't use Quit().  Use Disconnect().  Quit() tries to write a QUIT command
> to the socket before disconnecting.  But if the server already
disconnected
> the connection, there is no need to send a QUIT command at all.
>
> Gambit

Replies

None

In response to

Re: New user: Cannot disconnect and reconnect on FTP Server Timeout. posted by Remy Lebeau (TeamB) on Thu, 11 Mar 2004