Package com.enterprisedt.net.ftp.ssh
Class SSHFTPClient.ConfigFlags
java.lang.Object
com.enterprisedt.net.ftp.ssh.SSHFTPClient.ConfigFlags
- Enclosing class:
SSHFTPClient
ConfigFlags contains various static integers which are used
to configure clients. All flags are used to enable non-standard behaviour,
which is sometimes necessary when connecting to servers that don't comply
fully with the standard.
Combinations of these flags may be passed to SSHFTPClient.setConfigFlags()
- Author:
- Hans Andersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intDisables the permission change made after creating a directory, which is done to ensure the permissions are correct.static intDisables the permission change made after creating a file, which is done to ensure the permissions are correct.static intDeprecated.use DISABLE_CHMOD_AFTER_PUTstatic intDisables waiting for an acknowledgement from the server when the client has requested that a channel be closed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DISABLE_POST_CREATE_CHMOD
public static int DISABLE_POST_CREATE_CHMODDeprecated.use DISABLE_CHMOD_AFTER_PUTDisables the permission change made after creating a file, which is done to ensure the permissions are correct. Some servers return an error saying the file does not exist -
DISABLE_CHMOD_AFTER_PUT
public static int DISABLE_CHMOD_AFTER_PUTDisables the permission change made after creating a file, which is done to ensure the permissions are correct. Some servers return an error saying the file does not exist -
DISABLE_WAIT_FOR_CHANNEL_CLOSE
public static int DISABLE_WAIT_FOR_CHANNEL_CLOSEDisables waiting for an acknowledgement from the server when the client has requested that a channel be closed. -
DISABLE_CHMOD_AFTER_CREATE_DIR
public static int DISABLE_CHMOD_AFTER_CREATE_DIRDisables the permission change made after creating a directory, which is done to ensure the permissions are correct. Some servers return an error saying "Specified file is a directory".
-
-
Constructor Details
-
ConfigFlags
public ConfigFlags()
-