Re: Raising exception at MakeDirectory on FTPServer.

Giganews Newsgroups
Subject: Re: Raising exception at MakeDirectory on FTPServer.
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Wed, 28 Jan 2004

"Alpha and Omega" <la…@nomail.nospam> wrote in message
news:B57EF97FC58FE240la…@nomail.nospam...

> When I raise exception at MakeDirectory at below ways, the
> connection will close.

It shouldn't.  Any exceptions that are thrown from the event handler are
caught internally and the Exception Message used to send back an error reply
to the client, nothing else.  The TIdFTPServer will not disconnect the
client if you throw an exception.  So the client is probably simply
disconnecting itself when it recieves an error from the server.

Gambit

Replies

In response to

Raising exception at MakeDirectory on FTPServer. posted by Alpha and Omega on Wed, 28 Jan 2004