File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1717### Fixed
1818- typesafe now only offers https access
1919 [ #49 ] ( https://github.com/clowder-framework/clowder/issues/49 )
20+ - if uploading files by url > 2147483647 it would fail
21+ [ #54 ] ( https://github.com/clowder-framework/clowder/issues/54 )
2022
2123## 1.10.1 - 2020-07-16
2224
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ object FileUtils {
657657 // actually save the file
658658 val conn = url.openConnection()
659659
660- ByteStorageService .save(conn.getInputStream, " uploads" , conn.getContentLength ) match {
660+ ByteStorageService .save(conn.getInputStream, " uploads" , conn.getContentLengthLong ) match {
661661 case Some ((loader_id, loader, length)) => {
662662 files.get(file.id) match {
663663 case Some (f) => {
You can’t perform that action at this time.
0 commit comments