Home | History | Annotate | Download | only in command

Lines Matching refs:port

32  * CommandHandler for the PORT command. Send back a reply code of 200.

37 * <li>{@link #PORT_KEY} ("port") - the port number (Integer) submitted on the invocation (from parameter 5-6)
47 public static final String PORT_KEY = "port";
64 int port = parsePortNumber(command.getParameters());
65 LOG.debug("host=" + host + " port=" + port);
67 session.setClientDataPort(port);
69 invocationRecord.set(PORT_KEY, new Integer(port));
77 * of a 32-bit internet host address and a 16-bit TCP port address. This address
80 * representation). Thus, the six parameters for the port command would be:
83 * high order 8 bits of the port number.
106 * Parse a 16-bit port number from the String[] of FTP command parameters.
109 * of a 32-bit internet host address and a 16-bit TCP port address. This address
112 * representation). Thus, the six parameters for the port command would be:
115 * high order 8 bits of the port number.
117 * @return the port number parsed from the parameters
127 int port = (port1 << 8) + port2;
129 return port;
139 Assert.isTrue(parameters.length >= 6, "The PORT command must contain least be 6 parameters: " + Arrays.asList(parameters));