/** * Creates the filesystem. */ @Override protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions) throws FileSystemException { // Create the file system final GenericFileName rootName = (GenericFileName) name; final FtpsClientWrapper ftpClient = new FtpsClientWrapper(rootName, fileSystemOptions); return new FtpsFileSystem(rootName, ftpClient, fileSystemOptions); }
@Override protected FTPClient createClient(final GenericFileName rootName, final UserAuthenticationData authData) throws FileSystemException { return FtpsClientFactory.createConnection( rootName.getHostName(), rootName.getPort(), UserAuthenticatorUtils.getData( authData, UserAuthenticationData.USERNAME, null), UserAuthenticatorUtils.getData( authData, UserAuthenticationData.PASSWORD, null), rootName.getPath(), getFileSystemOptions()); } }
@Override protected FTPClient createClient(final GenericFileName rootName, final UserAuthenticationData authData) throws FileSystemException { return FtpsClientFactory.createConnection(rootName.getHostName(), rootName.getPort(), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.USERNAME, UserAuthenticatorUtils.toChar(rootName.getUserName())), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.PASSWORD, UserAuthenticatorUtils.toChar(rootName.getPassword())), rootName.getPath(), getFileSystemOptions()); } }
/** * Creates the filesystem. */ @Override protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions) throws FileSystemException { // Create the file system final GenericFileName rootName = (GenericFileName) name; final FtpsClientWrapper ftpClient = new FtpsClientWrapper(rootName, fileSystemOptions); return new FtpsFileSystem(rootName, ftpClient, fileSystemOptions); }
@Override protected FTPClient createClient(final GenericFileName rootName, final UserAuthenticationData authData) throws FileSystemException { return FtpsClientFactory.createConnection(rootName.getHostName(), rootName.getPort(), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.USERNAME, UserAuthenticatorUtils.toChar(rootName.getUserName())), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.PASSWORD, UserAuthenticatorUtils.toChar(rootName.getPassword())), rootName.getPath(), getFileSystemOptions()); } }
/** * Creates the filesystem. */ @Override protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions) throws FileSystemException { // Create the file system final GenericFileName rootName = (GenericFileName) name; final FtpsClientWrapper ftpClient = new FtpsClientWrapper(rootName, fileSystemOptions); return new FtpsFileSystem(rootName, ftpClient, fileSystemOptions); }
@Override protected FTPClient createClient(final GenericFileName rootName, final UserAuthenticationData authData) throws FileSystemException { return FtpsClientFactory.createConnection(rootName.getHostName(), rootName.getPort(), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.USERNAME, UserAuthenticatorUtils.toChar(rootName.getUserName())), UserAuthenticatorUtils.getData(authData, UserAuthenticationData.PASSWORD, UserAuthenticatorUtils.toChar(rootName.getPassword())), rootName.getPath(), getFileSystemOptions()); } }
/** * Creates the filesystem. */ @Override protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions) throws FileSystemException { // Create the file system final GenericFileName rootName = (GenericFileName) name; final FtpsClientWrapper ftpClient = new FtpsClientWrapper(rootName, fileSystemOptions); return new FtpsFileSystem(rootName, ftpClient, fileSystemOptions); }
@Override protected FtpsClientWrapper createWrapper() throws FileSystemException { return new FtpsClientWrapper((GenericFileName) getRoot().getName(), getFileSystemOptions()); } }
@Override protected FtpsClientWrapper createWrapper() throws FileSystemException { return new FtpsClientWrapper((GenericFileName) getRoot().getName(), getFileSystemOptions()); } }
@Override protected FtpsClientWrapper createWrapper() throws FileSystemException { return new FtpsClientWrapper((GenericFileName) getRoot().getName(), getFileSystemOptions()); } }
@Override protected FtpsClientWrapper createWrapper() throws FileSystemException { return new FtpsClientWrapper((GenericFileName) getRoot().getName(), getFileSystemOptions()); } }