Caros,
Estou tentando fazer um download de arquivo passando o endereço FTP, mas este código não está fazendo o download? alguém poderia me dar um dica?
FTPClient ftpArq = new FTPClient();
ftpArq.connect("ftp.teste.com.br");
ftpArq.changeWorkingDirectory(diretorio);
ftpArq.retrieveFile(arquivoOrigem, new FileOutputStream(diretorio + NOME_DO_ARQUIVO));
ftpArq.disconnect();