Package org.apache.ftpserver

Examples of org.apache.ftpserver.ConnectionConfig


       *  Fija la configuraci�n del servidor
       *  En este caso se habilita el uso de usuarios an�nimos
       */
      ConnectionConfigFactory miConnectionConfigFactory = new ConnectionConfigFactory();
      miConnectionConfigFactory.setAnonymousLoginEnabled(true);
      ConnectionConfig connectionConfig = miConnectionConfigFactory.createConnectionConfig();
      serverFactory.setConnectionConfig(connectionConfig);
   
      // Fija la configuraci�n de las cuentas de usuario
      PropertiesUserManagerFactory userManagerFactory = new PropertiesUserManagerFactory();
      userManagerFactory.setFile(new File("usuarios.properties"));        
View Full Code Here

TOP

Related Classes of org.apache.ftpserver.ConnectionConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.