como q faco pra copiar aquivos .mbd d um diretorio pra outro usando Java ?
Alquem ja fez isso alguma vez ?
Só tranferir arquivo? É fácil…
FileInputStream fis = new FileInputStream("arqOrigem");
FileOutputStream for = new FileOutputStream("arqDestino");
FileChannel fcOrg = fis.getChannel();
FileChannel fcDest = fos.getChannel();
fc.transferTo(fcDest);
Teste aí o programa e veja se funciona
[quote=“microfilo”]Só tranferir arquivo? É fácil…
FileInputStream fis = new FileInputStream("arqOrigem");
FileOutputStream for = new FileOutputStream("arqDestino");
FileChannel fcOrg = fis.getChannel();
FileChannel fcDest = fos.getChannel();
fc.transferTo(fcDest);
Teste aí o programa e veja se funciona[/quote]
nao funcionou!
fcOrg.transferTo(fcDest);
deu pau aqui!
E ae cassolato! Blz?
Cara tem um exemplo neste topico
ps.: Conseguiu arrumar aquele erro do jasper?
Falow!!!