2
votos
Aceptado
Conectar a un servidor FTP desde Java
Leída la documentación de connect(String hostname), que dice:
Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port. ...
- 10.8k
1
voto
Aceptado
Conexión FTP - OutputStream en null
Debo insertar las siguientes lineas de código:
ftpClient.enterLocalPassiveMode();
ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
- 26
Only top scored, non community-wiki answers of a minimum length are eligible