Ftp Maiframe (mvs)

0 respostas
S

Alguem sabe como configurar o FTPClientConfig para o mvs,
O comando de listar arquivos esta me trazendo null mesmo havendo arquivo no diretorio

FTPClient ftp;
	
	List<String> retorno= new ArrayList<String>();
	
	ftp = new FTPClient();
	ftp.addProtocolCommandListener(new PrintCommandListener(
			new PrintWriter(System.out)));
	
	FTPClientConfig conf = new FTPClientConfig(FTPClientConfig.SYST_MVS);
	conf.setDefaultDateFormatStr("yyyy/MM/dd HH:mm");
	conf.setRecentDateFormatStr("yyyy/MM/dd HH:mm"); 

            ftp.configure(conf);
Criado 26 de julho de 2010
Respostas 0
Participantes 1