Commit 6712ce38 authored by Ivar Refsdal's avatar Ivar Refsdal

Save file to /tmp/...

parent de46ea33
......@@ -28,7 +28,7 @@ public class DataSetConverter {
FileItemStream item = iter.next();
InputStream stream = item.openStream();
String filename = UUID.randomUUID().toString() + ".bin";
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(filename))) {
try (OutputStream os = new BufferedOutputStream(new FileOutputStream("/tmp/" + filename))) {
IOUtils.copy(stream, os);
}
long diff = System.currentTimeMillis() - starttime;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment