Class SimplePasvOptions
Options for the SimplePasvAddressResolver.
Inherited Members
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.dll
Syntax
public class SimplePasvOptions
Properties
| Improve this Doc View SourcePasvMaxPort
Gets or sets maximum port number to use for passive ftp.
Declaration
public int? PasvMaxPort { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Remarks
If set, needs to be larger than PasvMinPort.
PasvMinPort
Gets or sets minimum port number to use for passive ftp.
Declaration
public int? PasvMinPort { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Remarks
Only active if PasvMaxPort is set, too). If set, needs to be larger than 1023.
PublicAddress
Gets or sets the address published to clients for PASV connections.
Declaration
public IPAddress? PublicAddress { get; set; }
Property Value
Type | Description |
---|---|
Nullable<IPAddress> |
Remarks
This may be necessary if you are behind a forwarding firewall, for example.