if(!passive) {
int localPort = dataConfig.getActiveLocalPort();
if(secure) {
SslConfiguration ssl = dataConfig.getSslConfiguration();
if(ssl == null) {
throw new FtpException("Data connection SSL not configured");
}
if(localPort == 0) {
dataSoc = createSocket(ssl, address, port, null, localPort, false);
}
else {