Constant Field Values

Contents

examples.ftp.*

  • examples.ftp.FTPClientExample 
    Modifier and Type Constant Field Value
    public static final java.lang.String USAGE "Expected Parameters: [options] <hostname> <username> <password> [<remote file> [<local file>]]\n\nDefault behavior is to download a file and use ASCII transfer mode.\n\t-a - use local active mode (default is local passive)\n\t-A - anonymous login (omit username and password parameters)\n\t-b - use binary transfer mode\n\t-c cmd - issue arbitrary command (remote is used as a parameter if provided) \n\t-d - list directory details using MLSD (remote is used as the pathname if provided)\n\t-e - use EPSV with IPv4 (default false)\n\t-E - encoding to use for control channel\n\t-f - issue FEAT command (remote and local files are ignored)\n\t-h - list hidden files (applies to -l and -n only)\n\t-k secs - use keep-alive timer (setControlKeepAliveTimeout)\n\t-l - list files using LIST (remote is used as the pathname if provided)\n\t Files are listed twice: first in raw mode, then as the formatted parsed data.\n\t N.B. if the wrong server-type is used, output may be lost. Use -U or -S as necessary.\n\t-L - use lenient future dates (server dates may be up to 1 day into future)\n\t-m - list file details using MDTM (remote is used as the pathname if provided)\n\t-n - list file names using NLST (remote is used as the pathname if provided)\n\t-p true|false|protocol[,true|false] - use FTPSClient with the specified protocol and/or isImplicit setting\n\t-s - store file on server (upload)\n\t-S - systemType set server system type (e.g. UNIX VMS WINDOWS)\n\t-t - list file details using MLST (remote is used as the pathname if provided)\n\t-U - save unparseable responses\n\t-w msec - wait time for keep-alive reply (setControlKeepAliveReplyTimeout)\n\t-T all|valid|none - use one of the built-in TrustManager implementations (none = JVM default)\n\t-y format - set default date format string\n\t-Y format - set recent date format string\n\t-Z timezone - set the server timezone for parsing LIST responses\n\t-z timezone - set the timezone for displaying MDTM, LIST, MLSD, MLST responses\n\t-PrH server[:port] - HTTP Proxy host and optional port[80] \n\t-PrU user - HTTP Proxy server username\n\t-PrP password - HTTP Proxy server password\n\t-# - add hash display during transfers\n"

org.apache.*

  • org.apache.commons.net.SocketClient 
    Modifier and Type Constant Field Value
    public static final java.lang.String NETASCII_EOL "\r\n"
  • org.apache.commons.net.finger.FingerClient 
    Modifier and Type Constant Field Value
    public static final int DEFAULT_PORT 79
  • org.apache.commons.net.imap.IMAP 
    Modifier and Type Constant Field Value
    protected static final java.lang.String __DEFAULT_ENCODING "ISO-8859-1"
    public static final int DEFAULT_PORT 143
  • org.apache.commons.net.imap.IMAPReply 
    Modifier and Type Constant Field Value
    public static final int BAD 2
    public static final int CONT 3
    public static final int NO 1
    public static final int OK 0
    public static final int PARTIAL 3
  • org.apache.commons.net.imap.IMAPSClient 
    Modifier and Type Constant Field Value
    public static final int DEFAULT_IMAPS_PORT 993
    public static final java.lang.String DEFAULT_PROTOCOL "TLS"
  • org.apache.commons.net.pop3.POP3 
    Modifier and Type Constant Field Value
    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 
    Modifier and Type Constant Field Value
    public static final int APOP 9
    public static final int AUTH 13
    public static final int CAPA 12
    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.pop3.POP3Reply 
    Modifier and Type Constant Field Value
    public static final int ERROR 1
    public static final int OK 0
    public static final int OK_INT 2
  • org.apache.commons.net.whois.WhoisClient 
    Modifier and Type Constant Field Value
    public static final java.lang.String DEFAULT_HOST "whois.internic.net"
    public static final int DEFAULT_PORT 43