Example usage for org.apache.commons.net.ftp FTPClient getAutodetectUTF8

List of usage examples for org.apache.commons.net.ftp FTPClient getAutodetectUTF8

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp FTPClient getAutodetectUTF8.

Prototype

public boolean getAutodetectUTF8() 

Source Link

Document

Tells if automatic server encoding detection is enabled or disabled.

Usage

From source file:com.adaptris.core.ftp.ClientSettingsTest.java

@Test
public void testPreConnectSettings_FTP() {
    FTPClient client = new FTPClient();
    preConnectSettings(client, FTP.values(), createFtpSettings());
    assertTrue(client.isUseEPSVwithIPv4());
    assertTrue(client.isStrictReplyParsing());
    assertTrue(client.isStrictMultilineParsing());
    assertFalse(client.isRemoteVerificationEnabled());
    assertTrue(client.getListHiddenFiles());
    assertTrue(client.getAutodetectUTF8());
}