My servlet upload a file to temporal directory, and i need move it to
other location. My servlet does:
try{
Runtime.getRuntime().exec("copy "+ f.toString()+ "
"+"c:\\kk\\copia\\"+f.getName());
}
catch (IOException ex){
out.println("<br>"+ ex.getMessage());
}
but I receive this text in browser:
CreateProcess: copy C:\kk\16390\cursoVA.cae c:\kk\copia\cursoVA.cae
error=2
And the file hasn't be moved....
Excuse me, but my english is very bad
Thanks in advance...
begin:vcard
n:Garrido Carrillo;Jos�
x-mozilla-html:FALSE
org:Universidad de Granada;Centro de Servicios Inform�ticos
adr:;;Edificio Mecenas s/n;Granada;;;Espa�a
version:2.1
email;internet:[EMAIL PROTECTED]
title:Becario Programador
x-mozilla-cpt:;9776
fn:Jos� Garrido Carrillo
end:vcard