core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java
/**
     * Creates a new connection to the server.
     *
     * @param hostname          The host name of the server.
     * @param port              The port to connect to.
     * @param username          The name of the user for authentication.
     * @param password          The user's password.
     * @param workingDirectory  The base directory.
     * @param fileSystemOptions The FileSystemOptions.
     * @return An FTPClient.
     * @throws FileSystemException if an error occurs while connecting.
     */
Creates a new connection to the server.
@param hostname          The host name of the server.
@param port              The port to connect to.
@param username          The name of the user for authentication.
@param password          The user's password.
@param workingDirectory  The base directory.
Creates a new connection to the server . @param hostname The host name of the server . @param port The port to connect to . @param username The name of the user for authentication . @param password The user ' s password . @param workingDirectory The base directory .
public static FTPClient createConnection(String hostname, int port, char[] username, char[] password,
                                             String workingDirectory, FileSystemOptions fileSystemOptions)
            throws FileSystemException {
        return createConnection(hostname, port, username, password, workingDirectory, fileSystemOptions, null, null,
                                null, null, null, null, null);
    }
public static FTPClient createConnection ( String hostname , int port , char [ ] username , char [ ] password , String workingDirectory , FileSystemOptions fileSystemOptions ) throws FileSystemException { return createConnection ( hostname , port , username , password , workingDirectory , fileSystemOptions , null , null , null , null , null , null , null ) ; }
Creates a new connection to the server.
Creates a new connection to the server .