Add session to cache with both hostname and address.
[cyberduck.git] / source / ch / cyberduck / core / ftp / FTPConnectMode.java
blobe65f3eb55a5d1a1887d16b3c979f4cb2aa2843d9
1 package ch.cyberduck.core.ftp;
3 /*
4 * Copyright (c) 2002-2010 David Kocher. All rights reserved.
6 * http://cyberduck.ch/
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * Bug fixes, suggestions and comments should be sent to:
19 * dkocher@cyberduck.ch
22 import ch.cyberduck.core.LocaleFactory;
24 /**
25 * @version $Id$
27 public enum FTPConnectMode {
28 unknown {
29 @Override
30 public String toString() {
31 return LocaleFactory.localizedString("Default");
34 /**
35 * Represents PORT connect mode
37 active {
38 @Override
39 public String toString() {
40 return LocaleFactory.localizedString("Active");
43 /**
44 * Represents PASV connect mode
46 passive {
47 @Override
48 public String toString() {
49 return LocaleFactory.localizedString("Passive");