Skip to content

Commit 87e583e

Browse files
committed
fix NoSuchFileException from CloudNetService#1294 StackTrace 2
1 parent 7d30bc8 commit 87e583e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver/src/main/java/eu/cloudnetservice/driver/network/chunk/defaults/DefaultFileChunkedPacketHandler.java

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public DefaultFileChunkedPacketHandler(
8585
try {
8686
// create the file
8787
if (Files.notExists(tempFilePath)) {
88+
FileUtil.createDirectory(tempFilePath.getParent());
8889
Files.createFile(tempFilePath);
8990
}
9091
// open the file

0 commit comments

Comments
 (0)