|Subject:||Re: Does changing DefaultPort in IdFTPServer should require Bindings clear?|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Tue, 25 Aug 2009|
"Tomasz B" <t.berg.REMO…@slican.pl> wrote in message
> I though that changing DefaultPort when server is not active
> should be enough to apply port number changes.
Nope. The DefaultPort property is only used when adding new entries to the
Bindings collection. Changing the DefaultPort has no effect on existing
> it looks like I've to clear bindings also.
Yes. Or alternatively you can loop through the existing entries updating
their Port property directly.
Remy Lebeau (Indy Team)
Does changing DefaultPort in IdFTPServer should require Bindings clear? posted by Tomasz B on Fri, 21 Aug 2009