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

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

Introduction

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

Prototype

public boolean isUseEPSVwithIPv4() 

Source Link

Document

Whether should attempt to use EPSV with IPv4.

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());
}