PASVPORT (JANUS DEFINE parameter)
Jump to navigation
Jump to search
PASVPORT startportnum
PASVPORT is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
This parameter identifies the first Janus FTP server port number to use for "passive" file transfers. For such transfers, an FTP server opens an additional server socket, to which the client is requested to connect for data transfers.
For each Janus FTP Server, a block of maxcon port numbers starting at startportnum is used for passive file transfers. maxcon is the maximum number of simultaneous FTP sessions supported by this server.
If PASVPORT is not specified, its default is 5000. If it is specified, the value must be at least 1000 and no greater than 32K.
This parameter is valid only for FTPSERVER port types.