01: package com.coldcore.coloradoftp.session;
02:
03: /**
04: * The type of the data opener which must be used for the upcoming data transfer.
05: * There are two types: data connection is initiated by a user (PASV) or data connection is initiated
06: * by the server (PORT). PASV and PORT commands must set this property to a correct value,
07: * so the data transfer commands know how to initialize a new data connections.
08: *
09: *
10: * ColoradoFTP - The Open Source FTP Server (http://cftp.coldcore.com)
11: */
12: public enum DataOpenerType {
13: PASV, //Connection will be initiated by user and already awaits in one of the data port listeners
14: PORT
15: //Connection will be initiated by server, so data connection initiator must be configured
16: }
|