public enum FtpsMode extends Enum<FtpsMode>
Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache FTP/SSHD.
Enum Constant and Description |
---|
EXPLICIT
Explicit mode.
|
IMPLICIT
Implicit mode.
|
Modifier and Type | Method and Description |
---|---|
static FtpsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpsMode IMPLICIT
Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache FTP/SSHD.
public static final FtpsMode EXPLICIT
public static FtpsMode[] values()
for (FtpsMode c : FtpsMode.values()) System.out.println(c);
public static FtpsMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.