views:

13

answers:

0
    String hostname="hostname";// any ftp server that allows Anonymous  login
    String username=""; // no username  -Anonymous 
    String password=""; // no password  -Anonymous 
    Ftp  ftp = new Ftp(hostname,username,password);
    ftp.addFtpListener(this);
    ftp.connect();

i want to access those ftp servers that allows Anonymous login using sinetfactory(secure inet factory).please provide a brief code with answer.