Add session to cache with both hostname and address.
[cyberduck.git] / source / ch / cyberduck / core / ftp / FTPTLSProtocol.java
blob76b8883845ca4f1babb381fdabd355f09e173ce5
1 package ch.cyberduck.core.ftp;
3 /*
4 * Copyright (c) 2002-2013 David Kocher. All rights reserved.
5 * http://cyberduck.ch/
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * Bug fixes, suggestions and comments should be sent to:
18 * feedback@cyberduck.ch
21 import ch.cyberduck.core.AbstractProtocol;
22 import ch.cyberduck.core.LocaleFactory;
23 import ch.cyberduck.core.Scheme;
25 /**
26 * @version $Id$
28 public final class FTPTLSProtocol extends AbstractProtocol {
29 @Override
30 public String getIdentifier() {
31 return this.getScheme().name();
34 @Override
35 public Type getType() {
36 return Type.ftp;
39 @Override
40 public String getName() {
41 return "FTP-SSL";
44 @Override
45 public String getDescription() {
46 return LocaleFactory.localizedString("FTP-SSL (Explicit AUTH TLS)");
49 @Override
50 public Scheme getScheme() {
51 return Scheme.ftps;
54 @Override
55 public String disk() {
56 return String.format("%s.tiff", "ftp");
59 @Override
60 public boolean isUTCTimezone() {
61 return false;
64 @Override
65 public boolean isEncodingConfigurable() {
66 return true;