2011-06-24 25 views

Respuesta

5

Utilice esta se está trabajando bien para mí ...

SimpleFTP ftp = new SimpleFTP(); 


       // Connect to an FTP server on port 21. 
       ftp.connect("server address", 21, "username", "pwd"); 

       // Set binary mode. 
       ftp.bin(); 

       // Change to a new working directory on the FTP server. 


       ftp.cwd("path"); 

       // Upload some files. 
       ftp.stor(new File("your-file-path"));    

       // Quit from the FTP server. 
       ftp.disconnect(); 

para obtener más información y tarro ... http://www.jibble.org/simpleftp/

Cuestiones relacionadas