Constant Field Values


Contents
examples.*

examples.ftp
public static final String USAGE "Usage: ftp [-s] [-b] <hostname> <username> <password> <remote file> <local file>\n\nDefault behavior is to download a file and use ASCII transfer mode.\n\t-s store file on server (upload)\n\t-b use binary transfer mode\n"

org.apache.*

org.apache.commons.net.CharGenTCPClient
public static final int CHARGEN_PORT 19
public static final int DEFAULT_PORT 19
public static final int NETSTAT_PORT 15
public static final int QUOTE_OF_DAY_PORT 17
public static final int SYSTAT_PORT 11

org.apache.commons.net.CharGenUDPClient
public static final int CHARGEN_PORT 19
public static final int DEFAULT_PORT 19
public static final int NETSTAT_PORT 15
public static final int QUOTE_OF_DAY_PORT 17
public static final int SYSTAT_PORT 11

org.apache.commons.net.DaytimeTCPClient
public static final int DEFAULT_PORT 13

org.apache.commons.net.DaytimeUDPClient
public static final int DEFAULT_PORT 13

org.apache.commons.net.DiscardTCPClient
public static final int DEFAULT_PORT 9

org.apache.commons.net.DiscardUDPClient
public static final int DEFAULT_PORT 9

org.apache.commons.net.EchoTCPClient
public static final int DEFAULT_PORT 7

org.apache.commons.net.EchoUDPClient
public static final int DEFAULT_PORT 7

org.apache.commons.net.FingerClient
public static final int DEFAULT_PORT 79

org.apache.commons.net.SocketClient
public static final String NETASCII_EOL "\r\n"

org.apache.commons.net.TimeTCPClient
public static final int DEFAULT_PORT 37
public static final long SECONDS_1900_TO_1970 2208988800L

org.apache.commons.net.TimeUDPClient
public static final int DEFAULT_PORT 37
public static final long SECONDS_1900_TO_1970 2208988800L

org.apache.commons.net.WhoisClient
public static final String DEFAULT_HOST "whois.internic.net"
public static final int DEFAULT_PORT 43

org.apache.commons.net.bsd.RCommandClient
public static final int DEFAULT_PORT 514
public static final int MAX_CLIENT_PORT 1023
public static final int MIN_CLIENT_PORT 512

org.apache.commons.net.bsd.RExecClient
public static final int DEFAULT_PORT 512

org.apache.commons.net.bsd.RLoginClient
public static final int DEFAULT_PORT 513

org.apache.commons.net.ftp.FTP
public static final int ASCII_FILE_TYPE 0
public static final int BINARY_FILE_TYPE 2
public static final int BLOCK_TRANSFER_MODE 11
public static final int CARRIAGE_CONTROL_TEXT_FORMAT 6
public static final int COMPRESSED_TRANSFER_MODE 12
public static final String DEFAULT_CONTROL_ENCODING "ISO-8859-1"
public static final int DEFAULT_DATA_PORT 20
public static final int DEFAULT_PORT 21
public static final int EBCDIC_FILE_TYPE 1
public static final int FILE_STRUCTURE 7
public static final int IMAGE_FILE_TYPE 2
public static final int LOCAL_FILE_TYPE 3
public static final int NON_PRINT_TEXT_FORMAT 4
public static final int PAGE_STRUCTURE 9
public static final int RECORD_STRUCTURE 8
public static final int STREAM_TRANSFER_MODE 10
public static final int TELNET_TEXT_FORMAT 5
protected static final int TERMINAL_TYPE 24
protected static final int TERMINAL_TYPE_IS 0
protected static final int TERMINAL_TYPE_SEND 1

org.apache.commons.net.ftp.FTPClient
public static final int ACTIVE_LOCAL_DATA_CONNECTION_MODE 0
public static final int ACTIVE_REMOTE_DATA_CONNECTION_MODE 1
public static final int PASSIVE_LOCAL_DATA_CONNECTION_MODE 2
public static final int PASSIVE_REMOTE_DATA_CONNECTION_MODE 3
protected static final int TERMINAL_TYPE 24
protected static final int TERMINAL_TYPE_IS 0
protected static final int TERMINAL_TYPE_SEND 1

org.apache.commons.net.ftp.FTPClientConfig
public static final String SYST_MVS "MVS"
public static final String SYST_NT "WINDOWS"
public static final String SYST_OS2 "OS/2"
public static final String SYST_OS400 "OS/400"
public static final String SYST_UNIX "UNIX"
public static final String SYST_VMS "VMS"

org.apache.commons.net.ftp.FTPCommand
public static final int ABOR 21
public static final int ABORT 21
public static final int ACCOUNT 2
public static final int ACCT 2
public static final int ALLO 17
public static final int ALLOCATE 17
public static final int APPE 16
public static final int APPEND 16
public static final int CDUP 4
public static final int CHANGE_TO_PARENT_DIRECTORY 4
public static final int CHANGE_WORKING_DIRECTORY 3
public static final int CWD 3
public static final int DATA_PORT 8
public static final int DELE 22
public static final int DELETE 22
public static final int FILE_STRUCTURE 11
public static final int HELP 31
public static final int LIST 26
public static final int LOGOUT 7
public static final int MAKE_DIRECTORY 24
public static final int MKD 24
public static final int MODE 12
public static final int NAME_LIST 27
public static final int NLST 27
public static final int NOOP 32
public static final int PASS 1
public static final int PASSIVE 9
public static final int PASSWORD 1
public static final int PASV 9
public static final int PORT 8
public static final int PRINT_WORKING_DIRECTORY 25
public static final int PWD 25
public static final int QUIT 7
public static final int REIN 6
public static final int REINITIALIZE 6
public static final int REMOVE_DIRECTORY 23
public static final int RENAME_FROM 19
public static final int RENAME_TO 20
public static final int REPRESENTATION_TYPE 10
public static final int REST 18
public static final int RESTART 18
public static final int RETR 13
public static final int RETRIEVE 13
public static final int RMD 23
public static final int RNFR 19
public static final int RNTO 20
public static final int SITE 28
public static final int SITE_PARAMETERS 28
public static final int SMNT 5
public static final int STAT 30
public static final int STATUS 30
public static final int STOR 14
public static final int STORE 14
public static final int STORE_UNIQUE 15
public static final int STOU 15
public static final int STRU 11
public static final int STRUCTURE_MOUNT 5
public static final int SYST 29
public static final int SYSTEM 29
public static final int TRANSFER_MODE 12
public static final int TYPE 10
public static final int USER 0
public static final int USERNAME 0

org.apache.commons.net.ftp.FTPFile
public static final int DIRECTORY_TYPE 1
public static final int EXECUTE_PERMISSION 2
public static final int FILE_TYPE 0
public static final int GROUP_ACCESS 1
public static final int READ_PERMISSION 0
public static final int SYMBOLIC_LINK_TYPE 2
public static final int UNKNOWN_TYPE 3
public static final int USER_ACCESS 0
public static final int WORLD_ACCESS 2
public static final int WRITE_PERMISSION 1

org.apache.commons.net.ftp.FTPReply
public static final int ACTION_ABORTED 451
public static final int BAD_COMMAND_SEQUENCE 503
public static final int CANNOT_OPEN_DATA_CONNECTION 425
public static final int CLOSING_DATA_CONNECTION 226
public static final int CODE_110 110
public static final int CODE_120 120
public static final int CODE_125 125
public static final int CODE_150 150
public static final int CODE_200 200
public static final int CODE_202 202
public static final int CODE_211 211
public static final int CODE_212 212
public static final int CODE_213 213
public static final int CODE_214 214
public static final int CODE_215 215
public static final int CODE_220 220
public static final int CODE_221 221
public static final int CODE_225 225
public static final int CODE_226 226
public static final int CODE_227 227
public static final int CODE_230 230
public static final int CODE_250 250
public static final int CODE_257 257
public static final int CODE_331 331
public static final int CODE_332 332
public static final int CODE_350 350
public static final int CODE_421 421
public static final int CODE_425 425
public static final int CODE_426 426
public static final int CODE_450 450
public static final int CODE_451 451
public static final int CODE_452 452
public static final int CODE_500 500
public static final int CODE_501 501
public static final int CODE_502 502
public static final int CODE_503 503
public static final int CODE_504 504
public static final int CODE_521 521
public static final int CODE_530 530
public static final int CODE_532 532
public static final int CODE_550 550
public static final int CODE_551 551
public static final int CODE_552 552
public static final int CODE_553 553
public static final int COMMAND_IS_SUPERFLUOUS 202
public static final int COMMAND_NOT_IMPLEMENTED 502
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER 504
public static final int COMMAND_OK 200
public static final int DATA_CONNECTION_ALREADY_OPEN 125
public static final int DATA_CONNECTION_OPEN 225
public static final int DIRECTORY_STATUS 212
public static final int ENTERING_PASSIVE_MODE 227
public static final int FILE_ACTION_NOT_TAKEN 450
public static final int FILE_ACTION_OK 250
public static final int FILE_ACTION_PENDING 350
public static final int FILE_NAME_NOT_ALLOWED 553
public static final int FILE_STATUS 213
public static final int FILE_STATUS_OK 150
public static final int FILE_UNAVAILABLE 550
public static final int HELP_MESSAGE 214
public static final int INSUFFICIENT_STORAGE 452
public static final int NAME_SYSTEM_TYPE 215
public static final int NEED_ACCOUNT 332
public static final int NEED_ACCOUNT_FOR_STORING_FILES 532
public static final int NEED_PASSWORD 331
public static final int NOT_LOGGED_IN 530
public static final int PAGE_TYPE_UNKNOWN 551
public static final int PATHNAME_CREATED 257
public static final int RESTART_MARKER 110
public static final int SERVICE_CLOSING_CONTROL_CONNECTION 221
public static final int SERVICE_NOT_AVAILABLE 421
public static final int SERVICE_NOT_READY 120
public static final int SERVICE_READY 220
public static final int STORAGE_ALLOCATION_EXCEEDED 552
public static final int SYNTAX_ERROR_IN_ARGUMENTS 501
public static final int SYSTEM_STATUS 211
public static final int TRANSFER_ABORTED 426
public static final int UNRECOGNIZED_COMMAND 500
public static final int USER_LOGGED_IN 230

org.apache.commons.net.ftp.parser.FTPTimestampParser
public static final String DEFAULT_RECENT_SDF "MMM d HH:mm"
public static final String DEFAULT_SDF "MMM d yyyy"

org.apache.commons.net.io.CopyStreamEvent
public static final long UNKNOWN_STREAM_SIZE -1L

org.apache.commons.net.io.Util
public static final int DEFAULT_COPY_BUFFER_SIZE 1024

org.apache.commons.net.nntp.NewsgroupInfo
public static final int MODERATED_POSTING_PERMISSION 1
public static final int PERMITTED_POSTING_PERMISSION 2
public static final int PROHIBITED_POSTING_PERMISSION 3
public static final int UNKNOWN_POSTING_PERMISSION 0

org.apache.commons.net.nntp.NNTP
public static final int DEFAULT_PORT 119

org.apache.commons.net.nntp.NNTPCommand
public static final int ARTICLE 0
public static final int AUTHINFO 15
public static final int BODY 1
public static final int GROUP 2
public static final int HEAD 3
public static final int HELP 4
public static final int IHAVE 5
public static final int LAST 6
public static final int LIST 7
public static final int NEWGROUPS 8
public static final int NEWNEWS 9
public static final int NEXT 10
public static final int POST 11
public static final int QUIT 12
public static final int SLAVE 13
public static final int STAT 14
public static final int XHDR 17
public static final int XOVER 16

org.apache.commons.net.nntp.NNTPReply
public static final int ARTICLE_LIST_BY_MESSAGE_ID_FOLLOWS 230
public static final int ARTICLE_NOT_WANTED 435
public static final int ARTICLE_POSTED_OK 240
public static final int ARTICLE_REJECTED 437
public static final int ARTICLE_RETRIEVED_BODY_FOLLOWS 222
public static final int ARTICLE_RETRIEVED_HEAD_AND_BODY_FOLLOW 220
public static final int ARTICLE_RETRIEVED_HEAD_FOLLOWS 221
public static final int ARTICLE_RETRIEVED_REQUEST_TEXT_SEPARATELY 223
public static final int ARTICLE_TRANSFERRED_OK 235
public static final int AUTHENTICATION_ACCEPTED 281
public static final int AUTHENTICATION_REJECTED 482
public static final int AUTHENTICATION_REQUIRED 408
public static final int CLOSING_CONNECTION 205
public static final int CODE_100 100
public static final int CODE_199 199
public static final int CODE_200 200
public static final int CODE_201 201
public static final int CODE_202 202
public static final int CODE_205 205
public static final int CODE_211 211
public static final int CODE_215 215
public static final int CODE_220 220
public static final int CODE_221 221
public static final int CODE_222 222
public static final int CODE_223 223
public static final int CODE_230 230
public static final int CODE_231 231
public static final int CODE_235 235
public static final int CODE_240 240
public static final int CODE_281 281
public static final int CODE_335 335
public static final int CODE_340 340
public static final int CODE_381 381
public static final int CODE_400 400
public static final int CODE_408 408
public static final int CODE_411 411
public static final int CODE_412 412
public static final int CODE_420 420
public static final int CODE_421 421
public static final int CODE_422 422
public static final int CODE_423 423
public static final int CODE_430 430
public static final int CODE_435 435
public static final int CODE_436 436
public static final int CODE_437 437
public static final int CODE_440 440
public static final int CODE_441 441
public static final int CODE_482 482
public static final int CODE_500 500
public static final int CODE_501 501
public static final int CODE_502 502
public static final int CODE_503 503
public static final int COMMAND_NOT_RECOGNIZED 500
public static final int COMMAND_SYNTAX_ERROR 501
public static final int DEBUG_OUTPUT 199
public static final int GROUP_SELECTED 211
public static final int HELP_TEXT_FOLLOWS 100
public static final int MORE_AUTH_INFO_REQUIRED 381
public static final int NEW_NEWSGROUP_LIST_FOLLOWS 231
public static final int NO_CURRENT_ARTICLE_SELECTED 420
public static final int NO_NEWSGROUP_SELECTED 412
public static final int NO_NEXT_ARTICLE 421
public static final int NO_PREVIOUS_ARTICLE 422
public static final int NO_SUCH_ARTICLE_FOUND 430
public static final int NO_SUCH_ARTICLE_NUMBER 423
public static final int NO_SUCH_NEWSGROUP 411
public static final int PERMISSION_DENIED 502
public static final int POSTING_FAILED 441
public static final int POSTING_NOT_ALLOWED 440
public static final int PROGRAM_FAULT 503
public static final int SEND_ARTICLE_TO_POST 340
public static final int SEND_ARTICLE_TO_TRANSFER 335
public static final int SERVER_READY_POSTING_ALLOWED 200
public static final int SERVER_READY_POSTING_NOT_ALLOWED 201
public static final int SERVICE_DISCONTINUED 400
public static final int SLAVE_STATUS_NOTED 202
public static final int TRANSFER_FAILED 436

org.apache.commons.net.ntp.NTPUDPClient
public static final int DEFAULT_PORT 123

org.apache.commons.net.ntp.NtpV3Packet
public static final int LI_ALARM_CONDITION 3
public static final int LI_LAST_MINUTE_HAS_59_SECONDS 2
public static final int LI_LAST_MINUTE_HAS_61_SECONDS 1
public static final int LI_NO_WARNING 0
public static final int MODE_BROADCAST 5
public static final int MODE_CLIENT 3
public static final int MODE_CONTROL_MESSAGE 6
public static final int MODE_PRIVATE 7
public static final int MODE_RESERVED 0
public static final int MODE_SERVER 4
public static final int MODE_SYMMETRIC_ACTIVE 1
public static final int MODE_SYMMETRIC_PASSIVE 2
public static final int NTP_MAXCLOCK 10
public static final int NTP_MAXPOLL 14
public static final int NTP_MINCLOCK 1
public static final int NTP_MINPOLL 4
public static final int NTP_PORT 123
public static final String TYPE_DAYTIME "DAYTIME"
public static final String TYPE_ICMP "ICMP"
public static final String TYPE_NTP "NTP"
public static final String TYPE_TIME "TIME"
public static final int VERSION_3 3
public static final int VERSION_4 4

org.apache.commons.net.ntp.TimeStamp
protected static final long msb0baseTime 2085978496000L
protected static final long msb1baseTime -2208988800000L
public static final String NTP_DATE_FORMAT "EEE, MMM dd yyyy HH:mm:ss.SSS"

org.apache.commons.net.pop3.POP3
public static final int AUTHORIZATION_STATE 0
public static final int DEFAULT_PORT 110
public static final int DISCONNECTED_STATE -1
public static final int TRANSACTION_STATE 1
public static final int UPDATE_STATE 2

org.apache.commons.net.pop3.POP3Command
public static final int APOP 9
public static final int DELE 6
public static final int LIST 4
public static final int NOOP 7
public static final int PASS 1
public static final int QUIT 2
public static final int RETR 5
public static final int RSET 8
public static final int STAT 3
public static final int TOP 10
public static final int UIDL 11
public static final int USER 0

org.apache.commons.net.smtp.SMTP
public static final int DEFAULT_PORT 25

org.apache.commons.net.smtp.SMTPCommand
public static final int DATA 3
public static final int EXPAND 9
public static final int EXPN 9
public static final int HELLO 0
public static final int HELO 0
public static final int HELP 10
public static final int LOGIN 0
public static final int LOGOUT 13
public static final int MAIL 1
public static final int MAIL_FROM 1
public static final int NOOP 11
public static final int QUIT 13
public static final int RCPT 2
public static final int RECIPIENT 2
public static final int RESET 7
public static final int RSET 7
public static final int SAML 6
public static final int SEND 4
public static final int SEND_AND_MAIL_FROM 6
public static final int SEND_FROM 4
public static final int SEND_MESSAGE_DATA 3
public static final int SEND_OR_MAIL_FROM 5
public static final int SOML 5
public static final int TURN 12
public static final int VERIFY 8
public static final int VRFY 8

org.apache.commons.net.smtp.SMTPReply
public static final int ACTION_ABORTED 451
public static final int ACTION_NOT_TAKEN 450
public static final int ACTION_OK 250
public static final int BAD_COMMAND_SEQUENCE 503
public static final int CODE_211 211
public static final int CODE_214 214
public static final int CODE_215 215
public static final int CODE_220 220
public static final int CODE_221 221
public static final int CODE_250 250
public static final int CODE_251 251
public static final int CODE_354 354
public static final int CODE_421 421
public static final int CODE_450 450
public static final int CODE_451 451
public static final int CODE_452 452
public static final int CODE_500 500
public static final int CODE_501 501
public static final int CODE_502 502
public static final int CODE_503 503
public static final int CODE_504 504
public static final int CODE_550 550
public static final int CODE_551 551
public static final int CODE_552 552
public static final int CODE_553 553
public static final int CODE_554 554
public static final int COMMAND_NOT_IMPLEMENTED 502
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER 504
public static final int HELP_MESSAGE 214
public static final int INSUFFICIENT_STORAGE 452
public static final int MAILBOX_NAME_NOT_ALLOWED 553
public static final int MAILBOX_UNAVAILABLE 550
public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL 221
public static final int SERVICE_NOT_AVAILABLE 421
public static final int SERVICE_READY 220
public static final int START_MAIL_INPUT 354
public static final int STORAGE_ALLOCATION_EXCEEDED 552
public static final int SYNTAX_ERROR_IN_ARGUMENTS 501
public static final int SYSTEM_STATUS 211
public static final int TRANSACTION_FAILED 554
public static final int UNRECOGNIZED_COMMAND 500
public static final int USER_NOT_LOCAL 551
public static final int USER_NOT_LOCAL_WILL_FORWARD 251

org.apache.commons.net.telnet.TelnetClient
protected static final int TERMINAL_TYPE 24
protected static final int TERMINAL_TYPE_IS 0
protected static final int TERMINAL_TYPE_SEND 1

org.apache.commons.net.telnet.TelnetCommand
public static final int ABORT 238
public static final int AO 245
public static final int AYT 246
public static final int BREAK 243
public static final int DM 242
public static final int DO 253
public static final int DONT 254
public static final int EC 247
public static final int EL 248
public static final int EOF 236
public static final int EOR 239
public static final int GA 249
public static final int IAC 255
public static final int IP 244
public static final int MAX_COMMAND_VALUE 255
public static final int NOP 241
public static final int SB 250
public static final int SE 240
public static final int SUSP 237
public static final int SYNCH 242
public static final int WILL 251
public static final int WONT 252

org.apache.commons.net.telnet.TelnetNotificationHandler
public static final int RECEIVED_DO 1
public static final int RECEIVED_DONT 2
public static final int RECEIVED_WILL 3
public static final int RECEIVED_WONT 4

org.apache.commons.net.telnet.TelnetOption
public static final int MAX_OPTION_VALUE 255

org.apache.commons.net.telnet.TerminalTypeOptionHandler
protected static final int TERMINAL_TYPE 24
protected static final int TERMINAL_TYPE_IS 0
protected static final int TERMINAL_TYPE_SEND 1

org.apache.commons.net.tftp.TFTP
public static final int ASCII_MODE 0
public static final int BINARY_MODE 1
public static final int DEFAULT_PORT 69
public static final int DEFAULT_TIMEOUT 5000
public static final int IMAGE_MODE 1
public static final int NETASCII_MODE 0
public static final int OCTET_MODE 1

org.apache.commons.net.tftp.TFTPClient
public static final int DEFAULT_MAX_TIMEOUTS 5

org.apache.commons.net.tftp.TFTPDataPacket
public static final int MAX_DATA_LENGTH 512
public static final int MIN_DATA_LENGTH 0

org.apache.commons.net.tftp.TFTPErrorPacket
public static final int ACCESS_VIOLATION 2
public static final int FILE_EXISTS 6
public static final int FILE_NOT_FOUND 1
public static final int ILLEGAL_OPERATION 4
public static final int NO_SUCH_USER 7
public static final int OUT_OF_SPACE 3
public static final int UNDEFINED 0
public static final int UNKNOWN_TID 5

org.apache.commons.net.tftp.TFTPPacket
public static final int ACKNOWLEDGEMENT 4
public static final int DATA 3
public static final int ERROR 5
public static final int READ_REQUEST 1
public static final int SEGMENT_SIZE 512
public static final int WRITE_REQUEST 2



Copyright © 1997-2010 The Apache Software Foundation. All Rights Reserved.