Class SSHFTPClient.ConfigFlags

java.lang.Object
com.enterprisedt.net.ftp.ssh.SSHFTPClient.ConfigFlags
Enclosing class:
SSHFTPClient

public static class SSHFTPClient.ConfigFlags extends Object
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 Details

    • DISABLE_POST_CREATE_CHMOD

      public static int DISABLE_POST_CREATE_CHMOD
      Deprecated.
      use DISABLE_CHMOD_AFTER_PUT
      Disables 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_PUT
      Disables 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_CLOSE
      Disables 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_DIR
      Disables 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()