diff --git a/src/main/java/cokr/xit/base/file/FileInfo.java b/src/main/java/cokr/xit/base/file/FileInfo.java index bdfe9e4..c2d9e58 100644 --- a/src/main/java/cokr/xit/base/file/FileInfo.java +++ b/src/main/java/cokr/xit/base/file/FileInfo.java @@ -533,7 +533,7 @@ public class FileInfo extends AbstractEntity { if (Assert.isEmpty(path) || out == null) return false; try ( - InputStream in = input; + InputStream in = getInputStream(); ) { FileCopyUtils.copy(in, out); return true;