diff --git a/austin-support/src/main/java/com/java3y/austin/support/utils/AustinFileUtils.java b/austin-support/src/main/java/com/java3y/austin/support/utils/AustinFileUtils.java index b9a4dcf..859f238 100644 --- a/austin-support/src/main/java/com/java3y/austin/support/utils/AustinFileUtils.java +++ b/austin-support/src/main/java/com/java3y/austin/support/utils/AustinFileUtils.java @@ -27,6 +27,7 @@ public class AustinFileUtils { URL url = new URL(remoteUrl); File file = new File(path, url.getPath()); if (!file.exists()) { + file.getParentFile().mkdirs(); IoUtil.copy(url.openStream(), new FileOutputStream(file)); } return file;