Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFTPD
- Methods
- Properties
- Authentication
- BindIP
- BindIPType
- Certificate
- DirFormat
- Encryption
- EncryptionList
- FileLocking
- FIPS
- ForceUTF8
- GoodbyeMessage
- GreetingMessage
- HMacList
- HostKeyList
- KeyExchangeList
- MaxDataPort
- MinDataPort
- MonitorTransfers
- MyHostname
- MyIP
- Notification
- PasvPort
- Port
- Protocol
- Secure
- ServerName
- SFTPVersion
- Status
- StrictDataIP
- Threads
- Timeout
- UseIPv6
- Users
- Version
- VirtualFiles
- VirtualFolders
- Events
- wodFTPDNotify
- FtpUser
- FtpUsers
- VirtualFile
- VirtualFiles
- VirtualFolder
- VirtualFolders
- How to get support?
- Technical information
- Fast notifications interface
- Error list
MaxDataPort property
Specifies highest port that can be used for incoming data connections.
Type
A Long value.Syntax
- Basic
object.MaxDataPort [= value]
The MaxDataPort(object,value) syntax has these parts:
The MaxDataPort(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodFTPD. |
value | A Long value. |
Remarks
When MaxDataPort property is set to value different than 0, it defines highest port number to be used for data connections in FTP and FTPS protocols (this property is ignored in SFTP protocol). It is used when client sends PASV command, and server needs to open second, data connection, to transfer file or directory listing.This property is used when your server is behind a firewall and only certain range of ports is accessible through the firewall. Usually, these are values a bit above 1024, although any range between 1024-65535 can be used.
If you don't set this value, or is set to 0, wodFTPServer will not use any specific range, and will always use whatever port windows assigns.