Searched refs:FtpReplyCode (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpProtocolException.java36 private final FtpReplyCode code;
46 code = FtpReplyCode.UNKNOWN_ERROR;
56 public FtpProtocolException(String detail, FtpReplyCode code) {
65 * @return The {@link FtpReplyCode} associated with that exception.
67 public FtpReplyCode getReplyCode() {
H A DFtpReplyCode.java33 public enum FtpReplyCode { enum
89 FtpReplyCode(int val) { method in class:FtpReplyCode
235 * Static utility method to convert a value into a FtpReplyCode.
238 * @return the <code>FtpReplyCode</code> associated with the value.
240 public static FtpReplyCode find(int v) {
241 for (FtpReplyCode code : FtpReplyCode.values()) {
H A DFtpClient.java822 public abstract FtpReplyCode getLastReplyCode();
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
H A DFtpClient.java76 private FtpReplyCode lastReplyCode = null;
497 lastReplyCode = FtpReplyCode.find(readServerResponse());
504 if (lastReplyCode == FtpReplyCode.CLOSING_DATA_CONNECTION) {
693 if (getLastReplyCode() == FtpReplyCode.FILE_UNAVAILABLE) {
1034 if (lastReplyCode == FtpReplyCode.NEED_PASSWORD) {
1051 throw new sun.net.ftp.FtpProtocolException("Not connected yet", FtpReplyCode.BAD_SEQUENCE);
1090 throw new sun.net.ftp.FtpProtocolException("Not connected yet", FtpReplyCode.BAD_SEQUENCE);
1100 if (lastReplyCode == FtpReplyCode.NEED_ACCOUNT) {
1746 if (lastReplyCode == FtpReplyCode.FILE_STATUS) {
1780 if (lastReplyCode == FtpReplyCode
[all...]

Completed in 40 milliseconds