我得到了FileNotFound的错误。基本上,我正在尝试将文件从客户端上传到服务器。 InputStream is = socket.getInputStream();
FileOutputStreamfos = new FileOutputStream("E:\\0\\"); // it is creating new file not copying th
然而,对于这一个项目,我得到了一个未找到文件的异常。file.getName();
IOUtils.copy(is, new FileOutputStream我在我的服务器上得到的错误:
java.io.FileNotFoundException: foo.xls (The system cannot find the file specified
但我的错误越来越少了。java.io.FileNotFoundException: /logs/abc-web.log (No such file or directory) at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at