Hi,
server is running on unix machine and I want to create a file on my NT.
Code for that part is as follows:
File fout = new File("D:\\MyJava\\report.html"
;
FileOutputStream fileout = new FileOutputStream(fout);
fileout.write(bt, 0, str.length());
This doesn't produce any error message but I cannot find the file. When I switch the first line to
File fout = new File("data/report.html"
;
this works fine and creates the file on the server unix machine.
Can't I create any file on different machine? Is it because the server is running on different machine or because unix and nt machines are different?
I appreciate for any help.
Shine.
server is running on unix machine and I want to create a file on my NT.
Code for that part is as follows:
File fout = new File("D:\\MyJava\\report.html"

FileOutputStream fileout = new FileOutputStream(fout);
fileout.write(bt, 0, str.length());
This doesn't produce any error message but I cannot find the file. When I switch the first line to
File fout = new File("data/report.html"

this works fine and creates the file on the server unix machine.
Can't I create any file on different machine? Is it because the server is running on different machine or because unix and nt machines are different?
I appreciate for any help.
Shine.