OakServer Constructor (Int32, IPAddress, IPAddress, String, DocumentRegistrationCollection, Boolean)
Constructor.
Parameters
-
port
- main TCP port of the server
-
localIP
- local IP address
-
publicIP
- public IP address
-
workingDirectory
- working directory
-
documents
- FTP applications that must be registered
-
mustAuthenticate
- true if the user must systematically be authenticated
Exceptions
| Exception Type |
Condition |
|
ArgumentNullException
|
localIP, publicIP, workingDirectory or documents is null |
|
ArgumentException
|
one of the registered document does not implement IFtpSynchronousInput, IFtpAsynchronousInput or IFtpOutput |
|
HeveaException
|
Hevea is not started |
See Also
OakServer Class | Hevea.Core.Ftp Namespace | OakServer Constructor Overload List